gaurav / taxondna

Taxonomy-aware DNA sequence processing toolkit
http://www.ggvaidya.com/taxondna/
GNU General Public License v2.0
31 stars 10 forks source link

NullPointerException in BestMatch #62

Open gaurav opened 8 years ago

gaurav commented 8 years ago

Exception in thread "BestMatch" java.lang.NullPointerException at com.ggvaidya.TaxonDNA.SpeciesIdentifier.BestMatch.run(BestMatch.java:318) at java.lang.Thread.run(Thread.java:744)

Appears to have been triggered by a sequence without a parsable name ("Seq2"), but these should be excluded in the analysis -- so why did it trigger a bug?

Affects @7421cd46353, this appears to be the failing line: https://github.com/gaurav/taxondna/blob/1842c7329d2c32fe76bf5c352720712c2cc7d46d/com/ggvaidya/TaxonDNA/SpeciesIdentifier/BestMatch.java#L318