37D928520F21331F001D4494 /* validcommands.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = validcommands.h; sourceTree = "<group>"; };
37D928530F21331F001D4494 /* validparameter.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = validparameter.cpp; sourceTree = "<group>"; };
37D928540F21331F001D4494 /* validparameter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = validparameter.h; sourceTree = "<group>"; };
+ 37E3ED800F4D9D0D00B5DF02 /* mothur.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = mothur.h; sourceTree = "<group>"; };
37E5F3E10F29FD4200F8D827 /* treenode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = treenode.h; sourceTree = "<group>"; };
37E5F3E20F29FD4200F8D827 /* treenode.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = treenode.cpp; sourceTree = "<group>"; };
37E5F4900F2A3DA800F8D827 /* readtreecommand.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = readtreecommand.h; sourceTree = "<group>"; };
37D927E90F21331F001D4494 /* kmer.cpp */,
37D927EC0F21331F001D4494 /* kmerdb.hpp */,
37D927EB0F21331F001D4494 /* kmerdb.cpp */,
+ 37E3ED800F4D9D0D00B5DF02 /* mothur.h */,
37D927EF0F21331F001D4494 /* mothur.cpp */,
37D927F10F21331F001D4494 /* nameassignment.hpp */,
37D927F00F21331F001D4494 /* nameassignment.cpp */,
37D928380F21331F001D4494 /* sharedsorclass.cpp */,
37D9283B0F21331F001D4494 /* sharedsorest.h */,
37D9283A0F21331F001D4494 /* sharedsorest.cpp */,
- 37D9283C0F21331F001D4494 /* sharedthetan.cpp */,
37D9283D0F21331F001D4494 /* sharedthetan.h */,
+ 37D9283C0F21331F001D4494 /* sharedthetan.cpp */,
37D9283F0F21331F001D4494 /* sharedthetayc.h */,
37D9283E0F21331F001D4494 /* sharedthetayc.cpp */,
37D928410F21331F001D4494 /* simpson.h */,
37D927CB0F21331F001D4494 /* collectsharedcommand.cpp */,
37B28F660F27590100808A62 /* deconvolutecommand.h */,
37B28F670F27590100808A62 /* deconvolutecommand.cpp */,
- A70B53A40F4CD7AD0064797E /* getgroupcommand.cpp */,
A70B53A50F4CD7AD0064797E /* getgroupcommand.h */,
- A70B53A60F4CD7AD0064797E /* getlabelcommand.cpp */,
+ A70B53A40F4CD7AD0064797E /* getgroupcommand.cpp */,
A70B53A70F4CD7AD0064797E /* getlabelcommand.h */,
- A70B53A80F4CD7AD0064797E /* getlinecommand.cpp */,
+ A70B53A60F4CD7AD0064797E /* getlabelcommand.cpp */,
A70B53A90F4CD7AD0064797E /* getlinecommand.h */,
+ A70B53A80F4CD7AD0064797E /* getlinecommand.cpp */,
37D927E40F21331F001D4494 /* helpcommand.h */,
37D927E30F21331F001D4494 /* helpcommand.cpp */,
- 37D927F20F21331F001D4494 /* nocommand.cpp */,
37D927F30F21331F001D4494 /* nocommand.h */,
+ 37D927F20F21331F001D4494 /* nocommand.cpp */,
37D927FA0F21331F001D4494 /* parselistcommand.h */,
37D927F90F21331F001D4494 /* parselistcommand.cpp */,
3792946E0F2E191800B9034A /* parsimonycommand.h */,
#include "cluster.hpp"
#include "rabundvector.hpp"
#include "sparsematrix.hpp"
-#include <exception>
+#include "mothur.h"
/* This class implements the average UPGMA, average neighbor clustering algorithm */
using namespace std;
-#include <vector>
-#include <cmath>
-#include <iostream>
-#include <fstream>
-#include <math.h>
-#include <string>
-#include <map>
-#include <algorithm>
+#include "mothur.h"
#include "utilities.hpp"
#include "sabundvector.hpp"
#include "sharedsabundvector.h"
#include "cluster.hpp"
#include "rabundvector.hpp"
#include "listvector.hpp"
-#include <exception>
/***********************************************************************/
using namespace std;
-#include <iostream>
-#include <list>
-
+#include "mothur.h"
#include "utilities.hpp"
#include "sparsematrix.hpp"
#include "rabundvector.hpp"
*
*/
-#include <iostream>
-#include <fstream>
-#include "globaldata.hpp"
#include "command.hpp"
+#include "globaldata.hpp"
#include "rabundvector.hpp"
#include "sabundvector.hpp"
#include "listvector.hpp"
*
*/
-#include <iostream>
-#include <fstream>
-#include <vector>
#include "command.hpp"
#include "ordervector.hpp"
#include "inputdata.h"
#ifndef COLLECTORSCURVEDATA_H
#define COLLECTORSCURVEDATA_H
-#include <set>
+#include "mothur.h"
#include "sabundvector.hpp"
#include "sharedrabundvector.h"
#include "display.h"
*
*/
-#include <iostream>
-#include <fstream>
-#include <vector>
+
#include "command.hpp"
#include "sharedordervector.h"
#include "sharedlistvector.h"
using namespace std;
-#include <iostream>
-#include <fstream>
-
+#include "mothur.h"
class Command {
public:
#include "parsimonycommand.h"
#include "unifracunweightedcommand.h"
#include "unifracweightedcommand.h"
-#include <exception>
+#include "mothur.h"
/***********************************************************/
*
*/
-#include <string>
using namespace std;
#include "globaldata.hpp"
#include "commandoptionparser.hpp"
-#include <exception>
-#include <iostream>
+#include "mothur.h"
//**********************************************************************************************************************
//This Function parses through the command line and pulls out the command then sends the options to the parseGlobalData
#include "cluster.hpp"
-#include <exception>
+#include "mothur.h"
/***********************************************************************/
using namespace std;
-#include <string>
-#include <vector>
-#include <fstream>
-#include <iostream>
-
+#include "mothur.h"
#include "sequence.hpp"
#include "database.hpp"
using namespace std;
-#include <iostream>
-#include <string>
-#include <vector>
-#include <map>
+#include "mothur.h"
/* This class is parent to listvector, ordervector, rabundvector, sabundvector, sharedordervector, sharedrabundvector, sharedsabundvector.
The child classes all contain OTU information in different forms. */
*
*/
-#include <iostream>
-#include <fstream>
#include "command.hpp"
#include "utilities.hpp"
#include "fastamap.h"
#include "sharedsabundvector.h"
#include "calculator.h"
#include "fileoutput.h"
-#include <vector>
+
using namespace std;
*/
using namespace std;
-#include <string>
-#include <iostream>
-#include <iomanip>
-#include <fstream>
-#include <vector>
-#include <set>
-#include <exception>
#include "utilities.hpp"
#include "globaldata.hpp"
-#include <vector>
-#include <set>
-#include <string>
+#include "mothur.h"
using namespace std;
*/
#include "errorchecking.h"
-#include <math.h>
/*******************************************************/
"summary", //22
"sharedrarefaction", //23
"sharedsummary", //24
- "comparegroups", //25
+ "groups", //25
"abund", //26
};
*
*/
-#include <iostream>
-#include <map>
+#include "mothur.h"
#include "globaldata.hpp"
#include "validcommands.h"
#include "validparameter.h"
using namespace std;
-#include <iostream>
-#include <fstream>
-#include <string>
-#include <map>
+#include "mothur.h"
#include "utilities.hpp"
#ifndef FILEOUTPUT_H
#define FILEOUTPUT_H
-#include <iostream>
-#include <fstream>
-#include <iomanip>
-#include <vector>
+#include "mothur.h"
#include "utilities.hpp"
#include "globaldata.hpp"
#include "getgroupcommand.h"
-
-
-
GetgroupCommand::GetgroupCommand(){
try {
globaldata = GlobalData::getInstance();
*
*/
-#include <iostream>
-#include <fstream>
#include "command.hpp"
#include "readmatrix.hpp"
-
-
-
GetlabelCommand::GetlabelCommand(){
try {
globaldata = GlobalData::getInstance();
*
*/
-#include <iostream>
-#include <fstream>
#include "command.hpp"
#include "readmatrix.hpp"
#include "getlinecommand.h"
-
-
-
-
GetlineCommand::GetlineCommand(){
try {
globaldata = GlobalData::getInstance();
*
*/
-#include <iostream>
-#include <fstream>
#include "command.hpp"
#include "readmatrix.hpp"
#ifndef GLOBALDATA_HPP
#define GLOBALDATA_HPP
-#include <string>
-#include <vector>
-#include <set>
-#include <iostream>
-#include <iomanip>
-#include <map>
-#include <sstream>
-#include <stdexcept>
-#include <exception>
-
+#include "mothur.h"
#include "groupmap.h"
#include "treemap.h"
*
*/
-#include <map>
-#include <string>
-#include <iostream>
-#include <fstream>
+#include "mothur.h"
#include "utilities.hpp"
/* This class is a representation of the groupfile. It is used by all the shared commands to determine what group a
#ifndef INPUTDATA_H
#define INPUTDATA_H
-#include <iostream>
-#include <iomanip>
-#include <string>
-#include <fstream>
+#include "mothur.h"
#include "ordervector.hpp"
#include "sharedlistvector.h"
#include "sharedordervector.h"
using namespace std;
-#include <string>
-#include <vector>
-
+#include "mothur.h"
#include "kmer.hpp"
/**************************************************************************************************/
using namespace std;
-#include <vector>
-#include <string>
-#include <fstream>
-#include <iostream>
-
+#include "mothur.h"
#include "sequence.hpp"
#include "kmer.hpp"
#include "database.hpp"
using namespace std;
-#include <map>
-#include <exception>
+
#include "sabundvector.hpp"
#include "rabundvector.hpp"
#include "ordervector.hpp"
-#include "datavector.hpp"
#include "utilities.hpp"
#include "listvector.hpp"
#define LIST_H
#include "datavector.hpp"
-#include <iostream>
-#include <map>
/* This class is a child to datavector. It represents OTU information at a certain distance.
A list vector can be converted into and ordervector, rabundvector or sabundvector.
* Copyright 2008 Patrick D. Schloss. All rights reserved.
*
*/
-#include <string>
-#include <iostream>
-#include <iomanip>
-#include <fstream>
-#include <sstream>
-#include <exception>
-
+
+#include "mothur.h"
#include "engine.hpp"
#include "globaldata.hpp"
--- /dev/null
+#ifndef MOTHUR_H
+#define MOTHUR_H
+
+using namespace std;
+
+
+/*
+ * mothur.h
+ * Mothur
+ *
+ * Created by Sarah Westcott on 2/19/09.
+ * Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
+ *
+ */
+
+/* This file contains all the standard incudes we use in the project. */
+
+
+//io libraries
+#include <iostream>
+#include <iomanip>
+#include <fstream>
+#include <sstream>
+
+//exception
+#include <stdexcept>
+#include <exception>
+#include <cstdlib>
+
+
+//containers
+#include <vector>
+#include <set>
+#include <map>
+#include <string>
+#include <list>
+
+//math
+#include <cmath>
+#include <math.h>
+#include <algorithm>
+
+#endif
+
using namespace std;
-#include <string>
-#include <map>
-#include <exception>
-
#include "nameassignment.hpp"
//**********************************************************************************************************************
using namespace std;
-#include <string>
-#include <map>
+#include "mothur.h"
#include "utilities.hpp"
#include "listvector.hpp"
int NoCommand::execute(){
//Could choose to give more help here?fdsah
- cout << "Invalid command - choices are read.dist(), read.otu(), read.tree(), cluster(), deconvolute(), collect.single(), collect.shared(), rarefaction.single(), summary.single(), summary.shared(), quit(), help()." << "\n";
+ cout << "Invalid command." << "\n";
cout << "For more information on command parameters use the help() command." << "\n";
return 0;
}
using namespace std;
#include "ordervector.hpp"
-#include "datavector.hpp"
#include "utilities.hpp"
-#include <exception>
+
/***********************************************************************/
*
*/
-#include <iostream>
-#include <fstream>
-#include <map>
#include "command.hpp"
#include "rabundvector.hpp"
#include "sharedlistvector.h"
*
*/
-#include <iostream>
-#include <fstream>
-#include <vector>
-#include <map>
-#include <cmath>
#include "command.hpp"
#include "parsimony.h"
#include "treemap.h"
*
*/
-#include <iostream>
-#include <string>
+
#include "progress.hpp"
-#include <exception>
using namespace std;
#ifndef PROGRESS_H
#define PROGRESS_H
-#include <string>
+#include "mothur.h"
+
using namespace std;
class Progress {
*/
using namespace std;
-#include "datavector.hpp"
+
#include "utilities.hpp"
-#include <exception>
#include "rabundvector.hpp"
#include "sabundvector.hpp"
#include "ordervector.hpp"
#include "calculator.h"
#include "fileoutput.h"
#include "display.h"
-#include <vector>
+
using namespace std;
*
*/
-#include <iostream>
-#include <fstream>
-#include <vector>
#include "command.hpp"
#include "ordervector.hpp"
#include "inputdata.h"
#ifndef RAREFACTIONCURVEDATA_H
#define RAREFACTIONCURVEDATA_H
-#include <set>
+#include "mothur.h"
#include "sabundvector.hpp"
#include "display.h"
#include "observable.h"
*
*/
-#include <iostream>
-#include <fstream>
-#include <vector>
#include "command.hpp"
#include "sharedordervector.h"
#include "sharedlistvector.h"
*
*/
-#include <iostream>
-#include <fstream>
#include "command.hpp"
#include "readmatrix.hpp"
using namespace std;
-#include <string>
-#include <map>
#include "utilities.hpp"
#include "sparsematrix.hpp"
#include "progress.hpp"
#include "listvector.hpp"
#include "rabundvector.hpp"
-#include <exception>
-
#include "readmatrix.hpp"
*
*/
-#include <iostream>
-#include <fstream>
#include "command.hpp"
#include "readmatrix.hpp"
#include "inputdata.h"
* Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
*
*/
-#include <iostream>
-#include <fstream>
+
#include "command.hpp"
#include "readmatrix.hpp"
#include "inputdata.h"
using namespace std;
-#include <string>
-#include <iostream>
#include "globaldata.hpp"
#include "utilities.hpp"
#include "tree.h"
*
*/
-#include <iostream>
-#include <fstream>
#include "command.hpp"
#include "readtree.h"
#include "treemap.h"
using namespace std;
#include "sabundvector.hpp"
-#include "datavector.hpp"
#include "utilities.hpp"
-#include <exception>
/***********************************************************************/
using namespace std;
-#include <string>
-#include <fstream>
-
#include "sequence.hpp"
//********************************************************************************************************************
*/
using namespace std;
-#include <string>
+#include "mothur.h"
/**************************************************************************************************/
using namespace std;
-#include <iostream>
-#include <fstream>
-#include <iomanip>
-#include <vector>
-#include <string>
-#include <sstream>
-#include <map>
#include "sharedrabundvector.h"
#include "sharedlistvector.h"
#include "globaldata.hpp"
*
*/
-#include <iostream>
-#include <fstream>
-#include <map>
#include "command.hpp"
#include "sharedlistvector.h"
#include "inputdata.h"
using namespace std;
-#include <map>
-#include <exception>
+
#include "sabundvector.hpp"
#include "rabundvector.hpp"
#include "ordervector.hpp"
-#include "datavector.hpp"
#include "utilities.hpp"
#include "sharedlistvector.h"
#include "sharedordervector.h"
#include "globaldata.hpp"
#include "sharedrabundvector.h"
#include "sharedsabundvector.h"
-#include <iostream>
-#include <map>
/* This class is a child to datavector. It represents OTU information at a certain distance.
A sharedlistvector can be converted into a sharedordervector, sharedrabundvector or sharedsabundvectorand
#include "sharedordervector.h"
#include "utilities.hpp"
-#include <exception>
+
/***********************************************************************/
using namespace std;
#include "sharedrabundvector.h"
-#include "datavector.hpp"
#include "utilities.hpp"
-#include <exception>
-#include "sharedrabundvector.h"
#include "sabundvector.hpp"
#include "ordervector.hpp"
#include "sharedsabundvector.h"
#include "sabundvector.hpp"
-#include "datavector.hpp"
#include "utilities.hpp"
-#include <exception>
using namespace std;
#include "cluster.hpp"
-#include <exception>
+
/***********************************************************************/
-#include <vector>
-#include <iostream>
-#include <list>
#include "utilities.hpp"
#include "sparsematrix.hpp"
#include "listvector.hpp"
-#include <exception>
using namespace std;
#define SPARSEMATRIX_H
#include "utilities.hpp"
-#include <list>
+#include "mothur.h"
class ListVector;
*
*/
-#include <iostream>
-#include <fstream>
-#include <vector>
#include "command.hpp"
#include "sabundvector.hpp"
#include "inputdata.h"
#ifndef SUMMARYDATA_H
#define SUMMARYDATA_H
-#include <set>
+#include "mothur.h"
#include "sabundvector.hpp"
#include "display.h"
#include "observable.h"
#ifndef SUMMARY_H
#define SUMMARY_H
-#include <iostream>
-#include <iomanip>
-#include <fstream>
-#include <string>
+#include "mothur.h"
#include "display.h"
*
*/
-#include <iostream>
-#include <fstream>
-#include <vector>
+
#include "command.hpp"
#include "sharedrabundvector.h"
#include "inputdata.h"
using namespace std;
-#include <vector>
-#include <cmath>
-#include <math.h>
-#include <string>
-#include <map>
-#include <algorithm>
+#include "mothur.h"
#include "utilities.hpp"
#include "tree.h"
*
*/
-#include <map>
-#include <string>
-#include <iostream>
-#include <fstream>
+#include "mothur.h"
#include "utilities.hpp"
/* This class is used by the read.tree command to build the tree container. */
using namespace std;
-#include <string>
-#include <iostream>
-#include <fstream>
-#include <iomanip>
-#include <vector>
-#include <map>
+#include "mothur.h"
/* This class represents a node on a tree. */
*
*/
-#include <iostream>
-#include <fstream>
-#include <vector>
-#include <map>
-#include <cmath>
#include "command.hpp"
#include "unweighted.h"
#include "treemap.h"
*
*/
-#include <iostream>
-#include <fstream>
-#include <vector>
-#include <map>
-#include <cmath>
#include "command.hpp"
#include "weighted.h"
#include "treemap.h"
using namespace std;
-#include <iostream>
-#include <iomanip>
-#include <fstream>
-#include <sstream>
-#include <cmath>
-#include <vector>
-#include <stdexcept>
-#include <set>
+#include "mothur.h"
typedef unsigned long long ull;
using namespace std;
-#include <vector>
-#include <iostream>
-#include <fstream>
-#include <cmath>
-
+#include "mothur.h"
#include "sharedrabundvector.h"
typedef vector<double> EstOutput;
*/
using namespace std;
-#include <string>
-#include <iostream>
-#include <map>
+#include "mothur.h"
//This class contains a list of all valid calculators in Mothur.
//It has a function which will tell you if your calculator is valid for the given parameter.
*/
using namespace std;
-#include <string>
-#include <iostream>
-#include <map>
+#include "mothur.h"
//This class contains a list of all valid commands in Mothur.
//It has a function which will tell you if your command is valid.
*/
using namespace std;
-#include <iostream>
-#include <string>
-#include <map>
+#include "mothur.h"
//This class contains a list of all valid parameters in Mothur.
//It has a function which will tell you if your parameter is valid.