jtamames / SqueezeMeta

A complete pipeline for metagenomic analysis
GNU General Public License v3.0
357 stars 78 forks source link

Can I resume a sqm_longreads.pl run? #630

Closed jllavin77 closed 1 year ago

jllavin77 commented 1 year ago

Dear all,

I was running an analysis using sqm_longreads.pl and at the end of the project mi SDD unit was completely filled with the results, therefore, the final results couldn't be written, and the process halted (after over a week running smoothly). Is there any way to resume/restart (as there is in the main SqueezeMeta script) the analysis without repeating every individual sample analysis again?

Thanks in advance

jllavin77 commented 1 year ago

It seems that running the script again with exactly the same options, the program is able to automatically detect which result files are already present. It gives you the option of not overwritting those files and skip that steps, continuing with the whole process, saving the time repeating the analysis would take. GREAT FEATURE by the way. Cheers

jtamames commented 1 year ago

Hello

Ouch! Yep, Diamond results require a lot of disk space, especially in big project like yours.

Unless the option --force_overwrite is provided, sqm_longreads will NOT redo any existing result. Therefore, if you run it again with the very same command, it should restart where it ended. Just check if some of the last files was left unfinished, and remove just that one to be able to redo it.

Best,

J

On 22/2/23 9:49, jllavin77 wrote:

Dear all,

I was running an analysis using sqm_longreads.pl and at the end of the project mi SDD unit was completely filled with the results. therefore, the final results couldn't be written, and the process halted (after over a week running smoothly). Is there any way to resume/restart (as there is in the main SqueezeMeta script) the analysis without repeating every individual sample analysis again?

— Reply to this email directly, view it on GitHub https://github.com/jtamames/SqueezeMeta/issues/630, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIIUX7LCFEEJ5ZVU5EF5HIDWYXHINANCNFSM6AAAAAAVEA62YQ. You are receiving this because you are subscribed to this thread.Message ID: @.***>