X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=trimseqscommand.cpp;h=cbf5e13603ced805d185196fad9129eacb573d22;hb=bc4c4d63e983a3e91e74b5038bfec6705e1a3a2e;hp=944e2cdc0a110828157301f14f2470a06ac3e052;hpb=a86aff4f80701bf0d436f02c0095920114e1cba2;p=mothur.git diff --git a/trimseqscommand.cpp b/trimseqscommand.cpp index 944e2cd..cbf5e13 100644 --- a/trimseqscommand.cpp +++ b/trimseqscommand.cpp @@ -283,6 +283,7 @@ int TrimSeqsCommand::execute(){ for(int i=0;i 0) { remove(fastaFileNames[i].c_str()); } else { ifstream inFASTA; string seqName; @@ -443,7 +444,6 @@ int TrimSeqsCommand::driverCreateTrim(string filename, string qFileName, string } } outGroups << currSeq.getName() << '\t' << thisGroup << endl; - if(allFiles){ currSeq.printSequence(*fastaFileNames[indexToFastaFile]); } @@ -583,11 +583,14 @@ void TrimSeqsCommand::getOligos(vector& outFASTAVec){ //vector> type; - + if(type[0] == '#'){ while (!inOligos.eof()) { char c = inOligos.get(); if (c == 10 || c == 13){ break; } } // get rest of line if there's any crap there } else{ + //make type case insensitive + for(int i=0;i> oligo; for(int i=0;i& outFASTAVec){ //vector& outFASTAVec){ //vector> group; //check for repeat barcodes