]> git.donarmstrong.com Git - mothur.git/blobdiff - binsequencecommand.cpp
added set.current and get.current commands and modified existing commands to update...
[mothur.git] / binsequencecommand.cpp
index 81c24a33713a6a0a732f3c9e6b7cbe99e10dc02d..8b137c8935e099f6e806f60746244c0d244b9687 100644 (file)
@@ -387,7 +387,7 @@ int BinSeqCommand::process(ListVector* list) {
                                                if (sequence != "not found") {
                                                        //if you don't have groups
                                                        if (groupfile == "") {
-                                                               name = name + "|" + toString(i+1);
+                                                               name = name + "\t" + toString(i+1);
                                                                out << ">" << name << endl;
                                                                out << sequence << endl;
                                                        }else {//if you do have groups
@@ -396,7 +396,7 @@ int BinSeqCommand::process(ListVector* list) {
                                                                        m->mothurOut(name + " is missing from your group file. Please correct. ");  m->mothurOutEndLine();
                                                                        return 1;
                                                                }else{
-                                                                       name = name + "|" + group + "|" + toString(i+1);
+                                                                       name = name + "\t" + group + "\t" + toString(i+1);
                                                                        out << ">" << name << endl;
                                                                        out << sequence << endl;
                                                                }
@@ -413,7 +413,7 @@ int BinSeqCommand::process(ListVector* list) {
                                        if (sequence != "not found") {
                                                //if you don't have groups
                                                if (groupfile == "") {
-                                                       binnames = binnames + "|" + toString(i+1);
+                                                       binnames = binnames + "\t" + toString(i+1);
                                                        out << ">" << binnames << endl;
                                                        out << sequence << endl;
                                                }else {//if you do have groups
@@ -422,7 +422,7 @@ int BinSeqCommand::process(ListVector* list) {
                                                                m->mothurOut(binnames + " is missing from your group file. Please correct. "); m->mothurOutEndLine();
                                                                return 1;
                                                        }else{
-                                                               binnames = binnames + "|" + group + "|" + toString(i+1);
+                                                               binnames = binnames + "\t" + group + "\t" + toString(i+1);
                                                                out << ">" << binnames << endl;
                                                                out << sequence << endl;
                                                        }