Unicycler icon indicating copy to clipboard operation
Unicycler copied to clipboard

Unicycler hangs when aligning long reads to assembly graph

Open lowandrew opened this issue 6 years ago • 10 comments

I've recently run into an issue where Unicycler hangs when trying to aligning long reads to the assembly graph - all of the reads except for one will align, and then I get to:

Aligning reads (2018-11-15 12:44:12)
195,859 / 195,860 (100.0%)

At this point, Unicycler will stall seemingly indefinitely. I have no idea what's going wrong, I haven't had any similar issues when running Unicycler on other samples. Any help is greatly appreciated, the log from this unicycler run is attached.

Thanks!

unicycler.log

lowandrew avatar Nov 16 '18 13:11 lowandrew

This looks to be an intermittent bug - I tried running again on the exact same files, and this time assembly completed no problem...

lowandrew avatar Nov 16 '18 16:11 lowandrew

I have the same issue; around 1/4 of my assemblies got stuck during this phase. I've found that renaming the sam file by removing the 'incomplete' suffix and and restarting the assembly allow to complete the assembly process.

Any help would be greatly appreciated since this issue prevent the sequential processing of samples.

Thanks!

soda460 avatar Nov 19 '18 14:11 soda460

I am experiencing the same problem. I am running unicycler through a conda environment inside a docker container, but i dont think this is causing the issue. This error occured two times in a row on the same dataset, other data started in the same batch was working fine.

unicycler.log

caspargross avatar Dec 31 '18 15:12 caspargross

For what it's worth, I've found that this happens only happens with more recent versions of Unicycler - I was using v0.4.7 when I encountered this issue, I've since downgraded to v0.4.4 and have yet to encounter the same problem.

lowandrew avatar Dec 31 '18 15:12 lowandrew

Connected to issue #140

PertuyF avatar Jan 08 '19 15:01 PertuyF

The same has happened a lot to me since I upgraded to v0.4.7. It is very annoying. I have also seen that returning to v.0.4.4 avoids the issue.

sovp avatar Feb 14 '19 08:02 sovp

Any update on this issue? Having the same problem with unicycler stalling during read alignment when it reaches 100%

mradz19 avatar May 22 '19 00:05 mradz19

No update. Either start assembly again, or keep using 0.4.4 from conda.

PertuyF avatar May 23 '19 18:05 PertuyF

I've found that renaming the sam file by removing the 'incomplete' suffix and and restarting the assembly allow to complete the assembly process.

Remember this tip.

sovp avatar May 27 '19 07:05 sovp

Is the issue resolved in the latest version v0.4.8?

xmeng avatar Dec 26 '19 23:12 xmeng