]> git.donarmstrong.com Git - mothur.git/blobdiff - sffinfocommand.h
added SequenceCountParser class to parse the count table by group. added count parame...
[mothur.git] / sffinfocommand.h
index f18a3f5568167c031adabd5607cf2c07c2f651f9..4e72a960a7bb07d4e94df795bea462519f6d777a 100644 (file)
@@ -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;
@@ -69,6 +69,7 @@ public:
        vector<string> setParameters();
        string getCommandName()                 { return "sffinfo";                                     }
        string getCommandCategory()             { return "Sequence Processing";         }
+       string getOutputFileNameTag(string, string);
        string getHelpString(); 
        string getCitation() { return "http://www.mothur.org/wiki/Sffinfo"; }
        string getDescription()         { return "extract sequences reads from a .sff file"; }
@@ -82,7 +83,7 @@ private:
        bool abort, fasta, qual, trim, flow, sfftxt, hasAccnos;
        int mycount;
        set<string> seqNames;
-       
+    
        //extract sff file functions
        int extractSffInfo(string, string);
        int readCommonHeader(ifstream&, CommonHeader&);
@@ -98,7 +99,8 @@ private:
        int printQualSeqData(ofstream&, seqRead&, Header&);
        int readAccnosFile(string);
        int parseSffTxt();
-       
+       bool sanityCheck(Header&, seqRead&);
+    
        //parsesfftxt file functions
        int parseHeaderLineToInt(ifstream&);
        vector<unsigned short> parseHeaderLineToFloatVector(ifstream&, int);