X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=chimeraslayercommand.cpp;h=1dd3d4221975a33bf52e5e6031029c97d66e0ca5;hb=9013e13ecfb2fda3c2664a76f76cc99b8c7fa74c;hp=89d89e38447e620dbdc12ec8aa33da955c40c012;hpb=80c3fe03a8fd1635d3ad7918ff00beb973449f50;p=mothur.git diff --git a/chimeraslayercommand.cpp b/chimeraslayercommand.cpp index 89d89e3..1dd3d42 100644 --- a/chimeraslayercommand.cpp +++ b/chimeraslayercommand.cpp @@ -29,7 +29,7 @@ ChimeraSlayerCommand::ChimeraSlayerCommand(string option) { OptionParser parser(option); map parameters = parser.getParameters(); - ValidParameters validParameter; + ValidParameters validParameter("chimera.slayer"); map::iterator it; //check to make sure all parameters are valid for command @@ -150,7 +150,7 @@ ChimeraSlayerCommand::ChimeraSlayerCommand(string option) { temp = validParameter.validFile(parameters, "minbs", false); if (temp == "not found") { temp = "90"; } convert(temp, minBS); - temp = validParameter.validFile(parameters, "minsnp", false); if (temp == "not found") { temp = "10"; } + temp = validParameter.validFile(parameters, "minsnp", false); if (temp == "not found") { temp = "100"; } convert(temp, minSNP); temp = validParameter.validFile(parameters, "parents", false); if (temp == "not found") { temp = "3"; } @@ -205,7 +205,7 @@ void ChimeraSlayerCommand::help(){ m->mothurOut("The minsim parameter allows you to specify a minimum similarity with the parent fragments, default=90. \n"); m->mothurOut("The mincov parameter allows you to specify minimum coverage by closest matches found in template. Default is 70, meaning 70%. \n"); m->mothurOut("The minbs parameter allows you to specify minimum bootstrap support for calling a sequence chimeric. Default is 90, meaning 90%. \n"); - m->mothurOut("The minsnp parameter allows you to specify percent of SNPs to sample on each side of breakpoint for computing bootstrap support (default: 10) \n"); + m->mothurOut("The minsnp parameter allows you to specify percent of SNPs to sample on each side of breakpoint for computing bootstrap support (default: 100) \n"); m->mothurOut("The search parameter allows you to specify search method for finding the closest parent. Choices are distance, blast, and kmer, default distance. \n"); m->mothurOut("The realign parameter allows you to realign the query to the potential parents. Choices are true or false, default false. \n"); m->mothurOut("The chimera.slayer command should be in the following format: \n"); @@ -253,7 +253,7 @@ int ChimeraSlayerCommand::execute(){ #ifdef USE_MPI int pid, end, numSeqsPerProcessor; int tag = 2001; - vector MPIPos; + vector MPIPos; MPI_Status status; MPI_Comm_rank(MPI_COMM_WORLD, &pid); //find out who we are @@ -529,7 +529,7 @@ int ChimeraSlayerCommand::driver(linePair* line, string outputFName, string file } //********************************************************************************************************************** #ifdef USE_MPI -int ChimeraSlayerCommand::driverMPI(int start, int num, MPI_File& inMPI, MPI_File& outMPI, MPI_File& outAccMPI, vector& MPIPos){ +int ChimeraSlayerCommand::driverMPI(int start, int num, MPI_File& inMPI, MPI_File& outMPI, MPI_File& outAccMPI, vector& MPIPos){ try { MPI_Status status; int pid;