DaehwanKimLab / centrifuge

Classifier for metagenomic sequences
GNU General Public License v3.0
237 stars 73 forks source link

centrifuge-build hangs silently on FASTA file with small sequences #146

Closed dshivak closed 5 years ago

dshivak commented 5 years ago

Attached file fails to build and centrifuge-build hangs silently until killed.

FASTA line length wrapping does not change anything, removing one character from the 3' end of A_TP53_segment allows build to succeed. Haven't tried changing kmer length to see if it's a boundary issue.

centrifuge_build_testcase.zip

mourisl commented 5 years ago

Thanks for sharing the data causing this bug. I have updated the code on GitHub so it should work now.