]> git.donarmstrong.com Git - mothur.git/blobdiff - trimflowscommand.h
changing command name classify.shared to classifyrf.shared
[mothur.git] / trimflowscommand.h
index f4faacb899a8fd547a14d2bd2224b07882356cdf..f5493eb7517db72c20048da57080a587ae675f7e 100644 (file)
@@ -26,7 +26,9 @@ public:
        vector<string> 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<unsigned long long> getFlowFileBreaks();
        int createProcessesCreateTrim(string, string, string, string, vector<vector<string> >); 
        int driverCreateTrim(string, string, string, string, vector<vector<string> >, linePair*);
-
+    string reverseOligo(string);
+    
        vector<string> outputNames;
        set<string> filesToRemove;
        
@@ -66,7 +69,6 @@ private:
        
        string flowFileName, oligoFileName, outputDir;
 
-
        map<string, int> barcodes;
        map<string, int> primers;
        vector<string> revPrimer;
@@ -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;