X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=preclustercommand.h;h=7bbb5a7f448351d1bf72616e3c40f7f10b41eda4;hb=8bc3e5b38c2317a1715f53be22fa96455868c281;hp=3a1157d1979935e990f45e1f3202d4fe74525574;hpb=315e38cf393c82be238da5b32574f225a020d25c;p=mothur.git diff --git a/preclustercommand.h b/preclustercommand.h index 3a1157d..7bbb5a7 100644 --- a/preclustercommand.h +++ b/preclustercommand.h @@ -30,8 +30,13 @@ struct seqPNode { class PreClusterCommand : public Command { public: - PreClusterCommand(string); + PreClusterCommand(string); + PreClusterCommand(); ~PreClusterCommand(); + vector getRequiredParameters(); + vector getValidParameters(); + vector getRequiredFiles(); + map > getOutputFiles() { return outputTypes; } int execute(); void help(); @@ -40,12 +45,16 @@ private: bool abort; string fastafile, namefile, outputDir; vector alignSeqs; //maps the number of identical seqs to a sequence -// map names; //represents the names file first column maps to second column -// map sizes; //this map a seq name to the number of identical seqs in the names file + map names; //represents the names file first column maps to second column + map sizes; //this map a seq name to the number of identical seqs in the names file + map::iterator itSize; // map active; //maps sequence name to whether it has already been merged or not. + vector outputNames; + map > outputTypes; int readFASTA(); - int readNamesFASTA(); + void readNameFile(); + //int readNamesFASTA(); int calcMisMatches(string, string); void printData(string, string); //fasta filename, names file name };