X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=sensspeccommand.h;fp=sensspeccommand.h;h=02e84c0c96e087b5acb6a664405a5427107a5d45;hb=30910bfac62a1299cd20d99683c4fae68bfc2c1b;hp=1631e74ae054c834b30ed6763ad73faff10b0a13;hpb=0718c426add1df69adcc24444ef45550fb262ca7;p=mothur.git diff --git a/sensspeccommand.h b/sensspeccommand.h index 1631e74..02e84c0 100644 --- a/sensspeccommand.h +++ b/sensspeccommand.h @@ -13,6 +13,8 @@ #include "mothur.h" #include "command.hpp" +#include "listvector.hpp" +#include "inputdata.h" class SensSpecCommand : public Command { @@ -32,8 +34,8 @@ public: void help() { m->mothurOut(getHelpString()); } private: - void processPhylip(); - void processColumn(); + int processPhylip(); + int processColumn(); void setUpOutput(); void outputStatistics(string, string); @@ -41,13 +43,20 @@ private: string outputDir; string format; vector outputNames; + set labels; //holds labels to be used long int truePositives, falsePositives, trueNegatives, falseNegatives; - bool abort; + bool abort, allLines; bool hard; - string lineLabel; + //string lineLabel; double cutoff; int precision; + + int fillSeqMap(map&, ListVector*&); + int fillSeqPairSet(set&, ListVector*&); + int process(map&, string, bool&, string&); + int process(set&, string, bool&, string&, int); + }; #endif