Skip to content

Commit

Permalink
Merge pull request #145 from Joon-Klaps/small-patch
Browse files Browse the repository at this point in the history
modifying the ivar_consensus params
  • Loading branch information
Joon-Klaps authored Oct 3, 2024
2 parents 5ff3936 + d896fba commit a531e15
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions conf/modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -924,7 +924,8 @@ process {
withName: IVAR_CONTIG_CONSENSUS {
ext.prefix = { "${meta.id}_consensus" } // DON'T CHANGE
ext.args = [
'-t 0.51', // frequency to call consensus: 0.51 just the majority rule
'-t 0', // minmum frequency threshhold, majority rule
'-c 0.1', // minimum insertion frequency threshold: 10% needs to have the insert in order for it to be considered
'-q 0', // minimum quality score : 0 (no quality is provided)
'-m 1', // minimum depth to call consensus
'-n N' // Characters to print in regions with less coverage
Expand Down Expand Up @@ -1511,12 +1512,16 @@ process {
}

withName: IVAR_CONSENSUS {
ext.args = [
'-t 0.75', // frequency to call consensus: 0.75 just the majority rule
'-q 20', // minimum quality score of base
'-m 10', // minimum depth to call consensus
'-n N' // Characters to print in regions with less coverage
].join(' ').trim()
ext.args = {
def baseArgs = [
'-t 0', // frequency to call consensus, majority rule
'-q 20', // minimum quality score of base
'-m 10', // minimum depth to call consensus
'-n N', // Characters to print in regions with less coverage
].join(' ').trim()
def cValue = (meta.iteration as String).isInteger() ? "-c ${0.41 + (meta.iteration as int) * 0.10}": ''
return "${baseArgs} ${cValue}"
}
ext.args2 = [
'--count-orphans', // Do not skip anomalous read pairs in variant calling.
'--max-depth 0', // Maximum number of reads to start to consider at each location, 0 means no limit
Expand Down

0 comments on commit a531e15

Please sign in to comment.