X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=classifyotucommand.cpp;h=ec22de8b35762adf92e2a3b750198dcbb91f0396;hb=4c302368ef34f0d897afefc7853edf86fb45b9f3;hp=c8896375b016ef6c45462351a18e8e520bfe75c2;hpb=16abd6271c455bd01b34ff89a2e3641bef0fa128;p=mothur.git diff --git a/classifyotucommand.cpp b/classifyotucommand.cpp index c889637..ec22de8 100644 --- a/classifyotucommand.cpp +++ b/classifyotucommand.cpp @@ -475,6 +475,9 @@ vector ClassifyOtuCommand::findConsensusTaxonomy(int bin, ListVector* th } } + + //phylotree adds an extra unknown so we want to remove that + if (bestChild.name == "unknown") { bestChildSize--; } //is this taxonomy above cutoff int consensusConfidence = ceil((bestChildSize / (float) size) * 100);