X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=sffinfocommand.h;h=837435b3a6ca4c4c7f2e7e7579141b8fbece342b;hb=e0ce7cbc93d7d2fbb753ca694182db092a0ea0e7;hp=abfaa4b8a088713278a9384c08909f9eaaad70d2;hpb=e150b0b0664caec517485ee6d69dcdade6dcae77;p=mothur.git diff --git a/sffinfocommand.h b/sffinfocommand.h index abfaa4b..837435b 100644 --- a/sffinfocommand.h +++ b/sffinfocommand.h @@ -17,7 +17,7 @@ struct CommonHeader { unsigned int magicNumber; string version; - unsigned long int indexOffset; + unsigned long long indexOffset; unsigned int indexLength; unsigned int numReads; unsigned short headerLength; @@ -71,7 +71,8 @@ public: string getCommandCategory() { return "Sequence Processing"; } string getHelpString(); string getCitation() { return "http://www.mothur.org/wiki/Sffinfo"; } - + string getDescription() { return "extract sequences reads from a .sff file"; } + int execute(); void help() { m->mothurOut(getHelpString()); } @@ -81,7 +82,7 @@ private: bool abort, fasta, qual, trim, flow, sfftxt, hasAccnos; int mycount; set seqNames; - + //extract sff file functions int extractSffInfo(string, string); int readCommonHeader(ifstream&, CommonHeader&); @@ -97,7 +98,8 @@ private: int printQualSeqData(ofstream&, seqRead&, Header&); int readAccnosFile(string); int parseSffTxt(); - + bool sanityCheck(Header&, seqRead&); + //parsesfftxt file functions int parseHeaderLineToInt(ifstream&); vector parseHeaderLineToFloatVector(ifstream&, int);