//custom data structure for threads to use.
// This is passed by void pointer so it can be any data type
// that can be passed using a single void pointer (LPVOID).
-typedef struct distanceData {
+struct distanceData {
int startLine;
int endLine;
string dFileName;
};
/**************************************************************************************************/
-#if defined (__APPLE__) || (__MACH__) || (linux) || (__linux)
+#if defined (__APPLE__) || (__MACH__) || (linux) || (__linux) || (__linux__) || (__unix__) || (__unix)
#else
static DWORD WINAPI MyDistThreadFunction(LPVOID lpParam){
distanceData* pDataArray;
vector<string> setParameters();
string getCommandName() { return "dist.seqs"; }
string getCommandCategory() { return "Sequence Processing"; }
+ string getOutputFileNameTag(string, string);
string getHelpString();
string getCitation() { return "Schloss PD (2010). The effects of alignment quality, distance calculation method, sequence filtering, and region on the analysis of 16S rRNA gene-based studies. PLoS Comput Biol 6: e1000844. \nhttp://www.mothur.org/wiki/Dist.seqs"; }
string getDescription() { return "calculate the pairwaise distances between aligned sequences"; }
#ifdef USE_MPI
int driverMPI(int, int, MPI_File&, float);
- int driverMPI(int, int, string, unsigned long int&);
- int driverMPI(int, int, string, unsigned long int&, string);
+ int driverMPI(int, int, string, unsigned long long&);
+ int driverMPI(int, int, string, unsigned long long&, string);
#endif
//int convertMatrix(string);