Skip to content

Commit

Permalink
Deprecated some command line arguments
Browse files Browse the repository at this point in the history
These arguments are no longer used, and are deprecated for
removal in the next version.
  • Loading branch information
rob-p committed Jun 3, 2015
1 parent 9ce630e commit 3552ab0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/SalmonQuantify.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2864,7 +2864,7 @@ int salmonQuantify(int argc, char *argv[]) {
"while setting it to 1 says that alignments that disagree with the library type are no "
"less likely than those that do")
("numRequiredObs,n", po::value(&requiredObservations)->default_value(50000000),
"The minimum number of observations (mapped reads) that must be observed before "
"[Deprecated]: The minimum number of observations (mapped reads) that must be observed before "
"the inference procedure will terminate. If fewer mapped reads exist in the "
"input file, then it will be read through multiple times.")
("minLen,k", po::value<int>(&(memOptions->min_seed_len))->default_value(19), "(S)MEMs smaller than this size won't be considered.")
Expand All @@ -2886,11 +2886,11 @@ int salmonQuantify(int argc, char *argv[]) {
"format; files with any other extension are assumed to be in the simple format.");
//("optChain", po::bool_switch(&optChain)->default_value(false), "Chain MEMs optimally rather than greedily")

//EQCLASS
sopt.disableMappingCache = true;
// no sequence bias for now
sopt.noSeqBiasModel = true;
sopt.noRichEqClasses = false;
// mapping cache has been deprecated
sopt.disableMappingCache = true;

po::options_description advanced("\n"
"advanced options");
Expand Down Expand Up @@ -2951,7 +2951,7 @@ int salmonQuantify(int argc, char *argv[]) {
"result in increased running time.")
("splitSpanningSeeds,b", po::bool_switch(&(sopt.splitSpanningSeeds))->default_value(false), "Attempt to split seeds that happen to fall on the "
"boundary between two transcripts. This can improve the fragment hit-rate, but is usually not necessary.")
("useMassBanking", po::bool_switch(&(sopt.useMassBanking))->default_value(false), "[Currently Experimental] : "
("useMassBanking", po::bool_switch(&(sopt.useMassBanking))->default_value(false), "[Deprecated] : "
"Use mass \"banking\" in subsequent epoch of inference. Rather than re-observing uniquely "
"mapped reads, simply remember the ratio of uniquely to ambiguously mapped reads for each "
"transcript and distribute the unique mass uniformly throughout the epoch.")
Expand Down
4 changes: 2 additions & 2 deletions src/SalmonQuantifyAlignments.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,7 @@ int salmonAlignmentQuantify(int argc, char* argv[]) {
("output,o", po::value<std::string>()->required(), "Output quantification directory.")
("biasCorrect", po::value(&biasCorrect)->zero_tokens(), "[Experimental]: Output both bias-corrected and non-bias-corrected ")
("numRequiredObs,n", po::value(&requiredObservations)->default_value(50000000),
"The minimum number of observations (mapped reads) that must be observed before "
"[Deprecated]: The minimum number of observations (mapped reads) that must be observed before "
"the inference procedure will terminate. If fewer mapped reads exist in the "
"input file, then it will be read through multiple times.")
("geneMap,g", po::value<std::string>(), "File containing a mapping of transcripts to genes. If this file is provided "
Expand Down Expand Up @@ -890,7 +890,7 @@ int salmonAlignmentQuantify(int argc, char* argv[]) {
"fragment assignment ambiguity into account, you should use this output.")
("sampleUnaligned,u", po::bool_switch(&sampleUnaligned)->default_value(false), "In addition to sampling the aligned reads, also write "
"the un-aligned reads to \"posSample.bam\".")
("useMassBanking", po::bool_switch(&(sopt.useMassBanking))->default_value(false), "[Currently Experimental] : "
("useMassBanking", po::bool_switch(&(sopt.useMassBanking))->default_value(false), "[Deprecated] : "
"Use mass \"banking\" in subsequent epoch of inference. Rather than re-observing uniquely "
"mapped reads, simply remember the ratio of uniquely to ambiguously mapped reads for each "
"transcript and distribute the unique mass uniformly throughout the epoch.")
Expand Down

0 comments on commit 3552ab0

Please sign in to comment.