X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=trimflowscommand.h;h=065e6b4532e071383c39c54e38047b01a2b45344;hb=1f0e54b53b714781f3f2fee7d01177fade98a625;hp=8656fd0b5b314084c6fd08cf614288aca2bbc763;hpb=3dba4eab583a0ac8e3638cac5970641c79e661f9;p=mothur.git diff --git a/trimflowscommand.h b/trimflowscommand.h index 8656fd0..065e6b4 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; @@ -58,9 +61,7 @@ private: bool allFiles; int processors; int numFPrimers, numRPrimers; - int numLinkers, numSpacers; - - int maxFlows, minFlows, minLength, maxLength, maxHomoP, tdiffs, bdiffs, pdiffs; + int maxFlows, minFlows, minLength, maxLength, maxHomoP, tdiffs, bdiffs, pdiffs, sdiffs, ldiffs, numLinkers, numSpacers; int numFlows; float signal, noise; bool fasta; @@ -71,6 +72,8 @@ private: map barcodes; map primers; vector revPrimer; + vector linker; + vector spacer; vector primerNameVector; //needed here? vector barcodeNameVector; //needed here? @@ -131,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;