X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=trimseqscommand.h;h=ee79d777a8d11ffaa2e279e69463314f9c3b8938;hb=cd37904452dc95b183ff313ff05720c562902487;hp=800ec3d047fac0221edde0dec47fb130058519ad;hpb=21784ce4eb9b292db6f6191ed504f5e20754c810;p=mothur.git diff --git a/trimseqscommand.h b/trimseqscommand.h index 800ec3d..ee79d77 100644 --- a/trimseqscommand.h +++ b/trimseqscommand.h @@ -12,30 +12,35 @@ #include "mothur.h" #include "command.hpp" -#include "globaldata.hpp" #include "sequence.hpp" class TrimSeqsCommand : public Command { public: - TrimSeqsCommand(); + TrimSeqsCommand(string); ~TrimSeqsCommand(); int execute(); + void help(); private: - void getOligos(); - bool stripBarcode(Sequence&, string&); + void getOligos(vector&, vector&); + bool stripQualThreshold(Sequence&, ifstream&); + bool cullQualAverage(Sequence&, ifstream&); + bool stripBarcode(Sequence&, int&); bool stripForward(Sequence&); bool stripReverse(Sequence&); bool cullLength(Sequence&); bool cullHomoP(Sequence&); bool cullAmbigs(Sequence&); - - GlobalData* globaldata; + bool compareDNASeq(string, string); - bool oligos, flip; - int numFPrimers, numRPrimers, maxAmbig, maxHomoP, minLength, maxLength; + bool abort; + string fastaFile, oligoFile, qFileName; + + bool flip, allFiles; + int numFPrimers, numRPrimers, maxAmbig, maxHomoP, minLength, maxLength, qThreshold, qAverage; vector forPrimer, revPrimer; - map barcodes; + map barcodes; + vector groupVector; }; #endif