X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=trimflowscommand.h;h=f5493eb7517db72c20048da57080a587ae675f7e;hp=8c996dd9782734a5e9e209ecea4a57f1b1e1d333;hb=d1c97b8c04bb75faca1e76ffad60b37a4d789d3d;hpb=755185afe1c287b8c6eddf9eedd293a38fc9f998 diff --git a/trimflowscommand.h b/trimflowscommand.h index 8c996dd..f5493eb 100644 --- a/trimflowscommand.h +++ b/trimflowscommand.h @@ -26,7 +26,9 @@ public: vector setParameters(); string getCommandName() { return "trim.flows"; } string getCommandCategory() { return "Sequence Processing"; } + string getHelpString(); + string getOutputPattern(string); string getCitation() { return "http://www.mothur.org/wiki/Trim.flows"; } string getDescription() { return "trim.flows"; } @@ -49,7 +51,8 @@ private: vector getFlowFileBreaks(); int createProcessesCreateTrim(string, string, string, string, vector >); int driverCreateTrim(string, string, string, string, vector >, linePair*); - + string reverseOligo(string); + vector outputNames; set filesToRemove; @@ -66,7 +69,6 @@ private: string flowFileName, oligoFileName, outputDir; - map barcodes; map primers; vector revPrimer; @@ -132,7 +134,7 @@ struct trimFlowData { }; /**************************************************************************************************/ -#if defined (__APPLE__) || (__MACH__) || (linux) || (__linux) +#if defined (__APPLE__) || (__MACH__) || (linux) || (__linux) || (__linux__) || (__unix__) || (__unix) #else static DWORD WINAPI MyTrimFlowThreadFunction(LPVOID lpParam){ trimFlowData* pDataArray; @@ -222,7 +224,7 @@ static DWORD WINAPI MyTrimFlowThreadFunction(LPVOID lpParam){ flowData.printFlows(trimFlowFile); - if(pDataArray->fasta) { currSeq.printSequence(fastaFile); } + if(pDataArray->fasta) { currSeq.setAligned(currSeq.getUnaligned()); currSeq.printSequence(fastaFile); } if(pDataArray->allFiles){ ofstream output;