]> git.donarmstrong.com Git - mothur.git/blobdiff - sffinfocommand.h
added otu.association command. added calcSpearman, calcKendall and calcPearson functi...
[mothur.git] / sffinfocommand.h
index 0fdf6fce6647269d476945031255bb585e78ba83..903a589cd777b89b7e508e48d1173d550210f864 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;
@@ -64,13 +64,17 @@ class SffInfoCommand : public Command {
 public:
        SffInfoCommand(string);
        SffInfoCommand();
-       ~SffInfoCommand();
-       vector<string> getRequiredParameters();
-       vector<string> getValidParameters();
-       vector<string> getRequiredFiles();
-       map<string, vector<string> > getOutputFiles() { return outputTypes; }
-       int execute();
-       void help();
+       ~SffInfoCommand(){}
+       
+       vector<string> setParameters();
+       string getCommandName()                 { return "sffinfo";                                     }
+       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()); }  
        
 private:
        string sffFilename, sfftxtFilename, outputDir, accnosName;
@@ -78,7 +82,6 @@ private:
        bool abort, fasta, qual, trim, flow, sfftxt, hasAccnos;
        int mycount;
        set<string> seqNames;
-       map<string, vector<string> > outputTypes;
        
        //extract sff file functions
        int extractSffInfo(string, string);