X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=preclustercommand.h;h=5113fa44e0e5b848a22d52c6c8c03f29a646ffd0;hp=bb666cdd1bd93fd9b17740e69d68d7a5ec2ff1ff;hb=5b9b3e01150055e3b4bb1a911ea4c61d0b755e89;hpb=832d53a9dfac6b1795735eec643d8cf627b0d8e3 diff --git a/preclustercommand.h b/preclustercommand.h index bb666cd..5113fa4 100644 --- a/preclustercommand.h +++ b/preclustercommand.h @@ -19,8 +19,10 @@ struct seqPNode { int numIdentical; Sequence seq; + string names; + bool active; seqPNode() {} - seqPNode(int s, Sequence q) : numIdentical(s), seq(q) {} + seqPNode(int n, Sequence s, string nm) : numIdentical(n), seq(s), names(nm), active(1) {} ~seqPNode() {} }; /************************************************************/ @@ -38,13 +40,13 @@ private: bool abort; string fastafile, namefile; 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 active; //maps sequence name to whether it has already been merged or not. +// 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 active; //maps sequence name to whether it has already been merged or not. - int readSeqs(); + int readFASTA(); + int readNamesFASTA(); int calcMisMatches(string, string); - void readNameFile(); void printData(string, string); //fasta filename, names file name };