jts / sga

de novo sequence assembler using string graphs
http://genome.cshlp.org/content/22/3/549
237 stars 82 forks source link

multithread for samtools sort in sga-align, and fix devision by zero when bootstrap fails in sga-astat #159

Closed cihga39871 closed 4 years ago

cihga39871 commented 4 years ago

multithread for samtools sort in sga-align

It is a speed bottleneck. samtools sort has a multithread feature but is not used.

devision by zero when bootstrap fails in sga-astat.py

I just simply skip the loop when bootstrapLen == 0 or bootstrapReads == 0.