]> git.donarmstrong.com Git - mothur.git/blobdiff - chimeraslayer.cpp
added warning about merging with something above cutoff to cluster. working on chimeras
[mothur.git] / chimeraslayer.cpp
index 769032856bb5ca0801b21b3457ea5fa36bc90a20..6ca8c2945bb4600e6c7f518b1d7c4dfa1a529225 100644 (file)
@@ -118,7 +118,7 @@ void ChimeraSlayer::printHeader(ostream& out) {
        out << "Name\tLeftParent\tRightParent\tDivQLAQRB\tPerIDQLAQRB\tBootStrapA\tDivQLBQRA\tPerIDQLBQRA\tBootStrapB\tFlag\tLeftWindow\tRightWindow\n";
 }
 //***************************************************************************************************************
-void ChimeraSlayer::print(ostream& out) {
+void ChimeraSlayer::print(ostream& out, ostream& outAcc) {
        try {
                if (chimeraFlags == "yes") {
                        string chimeraFlag = "no";
@@ -130,6 +130,7 @@ void ChimeraSlayer::print(ostream& out) {
                        if (chimeraFlag == "yes") {     
                                if ((chimeraResults[0].bsa >= minBS) || (chimeraResults[0].bsb >= minBS)) {
                                        mothurOut(querySeq->getName() + "\tyes"); mothurOutEndLine();
+                                       outAcc << querySeq->getName() << endl;
                                }
                        }