X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=trimseqscommand.cpp;h=71cf7143c55392208523c390cfb3924304eeede9;hb=4dbf93479b205ec5d72663e5b01611000266bc13;hp=944e2cdc0a110828157301f14f2470a06ac3e052;hpb=a86aff4f80701bf0d436f02c0095920114e1cba2;p=mothur.git diff --git a/trimseqscommand.cpp b/trimseqscommand.cpp index 944e2cd..71cf714 100644 --- a/trimseqscommand.cpp +++ b/trimseqscommand.cpp @@ -377,7 +377,7 @@ int TrimSeqsCommand::driverCreateTrim(string filename, string qFileName, string int success = 1; Sequence currSeq(inFASTA); - + cout << i << '\t' << currSeq.getName() << endl; string origSeq = currSeq.getUnaligned(); if (origSeq != "") { int groupBar, groupPrime; @@ -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