]> git.donarmstrong.com Git - mothur.git/blobdiff - getoturepcommand.cpp
added deunique.tree command
[mothur.git] / getoturepcommand.cpp
index 342190db9a8f178aca59dfd94e7918fcd6e527c9..ce4b8950c3f1946054c7b24c82445a9ea1bc1cec 100644 (file)
@@ -117,6 +117,7 @@ GetOTURepCommand::GetOTURepCommand(string option)  {
                //allow user to run help
                if (option == "help") { 
                        help(); abort = true; calledHelp = true;
+               }else if(option == "citation") { citation(); abort = true; calledHelp = true;
                } else {
                        vector<string> myArray = setParameters();
                        
@@ -645,7 +646,7 @@ string GetOTURepCommand::findRep(vector<string> names) {
        try{
                // if only 1 sequence in bin or processing the "unique" label, then 
                // the first sequence of the OTU is the representative one
-               if ((names.size() == 1) || (list->getLabel() == "unique")) {
+               if ((names.size() == 1)) {
                        return names[0];
                }else{
                        vector<int> seqIndex(names.size());