]> git.donarmstrong.com Git - mothur.git/blobdiff - mothur.h
added count file to chimera.uchime. found issue with uchime program that indicated...
[mothur.git] / mothur.h
index 25b803fa393e27d0c2811e62efdeb042ce390dec..cd14056b21ba82f9d6c07e650fcf210616e7a882 100644 (file)
--- a/mothur.h
+++ b/mothur.h
@@ -177,7 +177,13 @@ inline bool compareSpearman(spearmanRank left, spearmanRank right){
 //********************************************************************************************************************
 //sorts highest to lowest
 inline bool compareSeqPriorityNodes(seqPriorityNode left, seqPriorityNode right){
-       return (left.numIdentical > right.numIdentical);        
+       if (left.numIdentical > right.numIdentical) {
+        return true;
+    }else if (left.numIdentical == right.numIdentical) {
+        if (left.seq > right.seq) { return true; }
+        else { return false; }
+    }
+    return false;      
 } 
 //********************************************************************************************************************
 //sorts lowest to highest