X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=seqerrorcommand.h;h=cb715ce05bc1edad8f2790cd78b67a356eafd7c3;hb=f06fdb807822f8e06db003ed809c87250905cfc8;hp=7e87ec63eb209a184f7036fafeeb35184fef9b90;hpb=ec1b5bc7460ac8ad40f54f0729900d9ed98e7292;p=mothur.git diff --git a/seqerrorcommand.h b/seqerrorcommand.h index 7e87ec6..cb715ce 100644 --- a/seqerrorcommand.h +++ b/seqerrorcommand.h @@ -56,27 +56,51 @@ public: private: bool abort; + + struct linePair { + unsigned long int start; + unsigned long int end; + linePair(unsigned long int i, unsigned long int j) : start(i), end(j) {} + }; + + vector processIDS; //processid + vector lines; + vector qLines; + vector rLines; void getReferences(); map getWeights(); Compare getErrors(Sequence, Sequence); - void printErrorHeader(); - void printErrorData(Compare, int); + void printErrorHeader(ofstream&); + void printErrorData(Compare, int, ofstream&, ofstream&); void printSubMatrix(); void printErrorFRFile(map >, map >); void printErrorQuality(map >); void printQualityFR(vector >, vector >); + + int setLines(string, string, string, vector&, vector&, vector&); + int driver(string, string, string, string, string, string, linePair, linePair, linePair); + int createProcesses(string, string, string, string, string, string); string queryFileName, referenceFileName, qualFileName, reportFileName, namesFileName, outputDir; double threshold; - bool ignoreChimeras; + bool ignoreChimeras, filter; int numRefs, processors; - int maxLength; - ofstream errorSummaryFile, errorSeqFile; + int maxLength, totalBases, totalMatches; + //ofstream errorSummaryFile, errorSeqFile; vector outputNames; vector referenceSeqs; vector > substitutionMatrix; + vector > qualForwardMap; + vector > qualReverseMap; + vector misMatchCounts; + map > qScoreErrorMap; + map > errorForward; + map > errorReverse; + map weights; + vector megaAlignVector; + }; #endif