Skip to content

Commit

Permalink
decreasing MCAS sampling rate to improve speed
Browse files Browse the repository at this point in the history
  • Loading branch information
cjain7 committed May 1, 2021
1 parent 4319ae2 commit 5463525
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/options.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ void mm_mapopt_init(mm_mapopt_t *opt)

//prefix settings specific for sv-aware method
opt->maxPrefixLength = 16000;
opt->minPrefixLength = opt->suffixSampleOffset = 1000; //reducing these may increase sensitivity & runtime
opt->minPrefixLength = opt->suffixSampleOffset = 2000; //reducing these may increase sensitivity & runtime
opt->prefixIncrementFactor = std::pow((opt->maxPrefixLength - 1) * 1.0/ opt->minPrefixLength, 0.5);
opt->min_mapq = 5;
opt->min_qcov = 0.5;
Expand Down Expand Up @@ -93,7 +93,7 @@ int mm_set_opt(const char *preset, mm_idxopt_t *io, mm_mapopt_t *mo)
} else if (strcmp(preset, "map-pb") == 0) { //hifi
io->flag = 0, io->k = 15;
mo->maxPrefixLength = mo->stage2_max_gap = 8000; //reduced
mo->suffixSampleOffset = mo->minPrefixLength = 500; //reduced
mo->suffixSampleOffset = mo->minPrefixLength = 1000; //reduced
mo->stage2_bw = 1000; //reduced (making it longer could break alignments near long SVs)
mo->prefixIncrementFactor = std::pow((mo->maxPrefixLength - 1) * 1.0/ mo->minPrefixLength, 0.33); //inc. levels
} else if (strcmp(preset, "map-pb-clr") == 0) {
Expand Down

0 comments on commit 5463525

Please sign in to comment.