X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=sffinfocommand.h;h=837435b3a6ca4c4c7f2e7e7579141b8fbece342b;hb=d205e70ae86dbee2efc2df02f2717975854de6ba;hp=f18a3f5568167c031adabd5607cf2c07c2f651f9;hpb=a44542a3c740cf957cff72ac71742f2fe48b0eaf;p=mothur.git diff --git a/sffinfocommand.h b/sffinfocommand.h index f18a3f5..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; @@ -82,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&); @@ -98,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);