]> git.donarmstrong.com Git - mothur.git/blobdiff - classifyotucommand.cpp
added list.labels command. started work on make.contigs command. fixed fastq.info...
[mothur.git] / classifyotucommand.cpp
index c8896375b016ef6c45462351a18e8e520bfe75c2..ec22de8b35762adf92e2a3b750198dcbb91f0396 100644 (file)
@@ -475,6 +475,9 @@ vector<string> 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);