X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=sracommand.h;h=dde656132ad57144f694dba1b043e66aed68ea2f;hb=fefd5ee1517abd3bc38b469cb2dffc85a1571c7e;hp=0f0a945d6118ad7ed17c4f08c7e2dce1dfa45bb0;hpb=ac03f1f6c27b5bfdf2cfb6d45c3667c3e0281f51;p=mothur.git diff --git a/sracommand.h b/sracommand.h index 0f0a945..dde6561 100644 --- a/sracommand.h +++ b/sracommand.h @@ -10,7 +10,8 @@ #define Mothur_sracommand_h #include "command.hpp" - +#include "trimoligos.h" +#include "oligos.h" /**************************************************************************************************/ @@ -34,9 +35,36 @@ public: void help() { m->mothurOut(getHelpString()); } private: - bool abort; - string sfffiles, fastqfiles, platform, outputDir; - vector outputNames; + bool abort, isSFF, pairedOligos; + int tdiffs, bdiffs, pdiffs, sdiffs, ldiffs; + string sfffile, fastqfile, outputDir, file, oligosfile, contactfile, inputfile, mimarksfile; + string libStrategy, libSource, libSelection, libLayout, platform, instrumentModel, fileType, dataType, checkorient; + string submissionName, lastName, firstName, email, centerName, centerType, description, website, orientation, packageType; + string projectName, grantId, grantTitle, grantAgency, projectTitle, inputDir; + vector outputNames, Groups; + map > Group2Barcode; + map > Group2Primer; + map Group2Organism; + map > mimarks; //group -> valueForGroup> ex. F003D001 -> 42.282026 -83.733850> + set uniqueNames; + + bool checkCasesInstrumentModels(string&); + bool checkCasesPlatforms(string&); + bool checkCasesLibStrategy(string&); + bool checkCasesLibSource(string&); + bool checkCasesLibSelection(string&); + bool checkCasesDataType(string&); + bool sanityCheckMiMarksGroups(); + int readFile(map >&); + int readContactFile(); + int readMIMarksFile(); + int readOligos(); + int parseSffFile(map >&); + int parseFastqFile(map >&); + int checkGroups(map >&); + int mapGroupToFile(map >&, vector); + string reverseOligo(string oligo); + }; /**************************************************************************************************/