ablab / spades

SPAdes Genome Assembler
http://ablab.github.io/spades/
Other
762 stars 138 forks source link

spades-core finished abnormally, err code: 4 #1049

Open GeorgeBGM opened 1 year ago

GeorgeBGM commented 1 year ago

Description of bug

Dear spades team,

image

Best, Du

spades.log

spades.log.zip

params.txt

params.txt.zip

SPAdes version

cloudspades-3.12.0

Operating System

linux

Python Version

Python 3.8.5

Method of SPAdes installation

conda

No errors reported in spades.log

asl commented 1 year ago

Tagging @Itolstoganov - cloudSPAdes author

GeorgeBGM commented 1 year ago

Dear spades team, Is there any progress on this issue or suggestions? Best, Du

Itolstoganov commented 1 year ago

Hi @George-du, sorry for the late reply.

The crash is caused by the absence of edges longer than 13500 in the SPAdes assembly graph. It is a bug that should be fixed in the near future. However, it seems that in this particular case cloudSPAdes will likely not be able to to anything, since it relies on the long edges in the assembly graph, which are very few in this dataset.

GeorgeBGM commented 1 year ago

Dear spades team,@Itolstoganov,

   Thanks for your helpful reply, I found that the error was reported for K77 and the rest of the smaller K values were fine, so would setting a smaller K-mer manually give the appropriate result?

Best, Du

Itolstoganov commented 1 year ago

Probably not. The edges are typically shorter on lower K, and the reason that there was no crash on the lower K values is that cloudSPAdes only runs during the last K.

GeorgeBGM commented 1 year ago

Dear spades team,@Itolstoganov, Thank you for your prompt and useful reply. Best, Du