Running Abyss On Cluster With Time Limitations
2
0
Entering edit mode
12.2 years ago
Raygozak ★ 1.4k

Hi, i want to do an assembly but the cluster that i intend to use has a limit on the maximum time a given job can run, is it possible to run abyss for certain number of iterations or time and start right where it left the previous time?. If not, does any other assembler do this? . Also, is it valid to divide the reads, do assembly on each subset, and the do assembly on the results of each chunk?

Thanks

assembly • 3.0k views
ADD COMMENT
3
Entering edit mode
12.2 years ago
Shaun Jackman ▴ 420

Farhat is right, you can resume an ABySS assembly where it left off, but there's no need to edit the abyss-pe script. By default, it will resume an aborted assembly where it left off (due to it's being a Makefile script). You can use the --dry-run option of abyss-pe (it's actually an option of make) to see which commands will be run.

Cheers, Shaun

ADD COMMENT
0
Entering edit mode

Ah. Wish I had known this. Would have saved me a bunch of time :).

ADD REPLY
2
Entering edit mode
12.2 years ago
Farhat ★ 2.9k

It is possible to get abyss to start where it left off (to some extent). When you run abyss, take a look at the output log and see which commands finished successfully. The command which was running while you ran out of time is where you should start off.

Assuming you are doing a paired-end assembly using abyss-pe, then open abyss-pe in an editor and comment out the commands that have successfully finished. The commands start with the comment

# Assemble unitigs

Before that are definitions and so on which should not be touched. Of course, for this to work at least the first command should finish successfully in the time limit that you have.

ADD COMMENT

Login before adding your answer.

Traffic: 2236 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6