Skip to content

Commit

Permalink
uopdate args of medaka
Browse files Browse the repository at this point in the history
  • Loading branch information
LilyAnderssonLee committed Jan 10, 2025
1 parent 0928c84 commit 0c4f16e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions conf/modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -249,9 +249,10 @@ process {
]
}

withName: '.*LONGREAD_CONSENSUS:MEDAKA_PARALLEL' {
withName: '.*LONGREAD_CONSENSUS:MEDAKA' {
ext.prefix = { "${meta.id}_${meta.taxid}" }
//ext.args = '-g' // -g Don't fill gaps in consensus with draft sequence
ext.args1 = '-A'
ext.args3 = '--no-fillgaps' // Don't fill gaps in consensus with draft sequence
publishDir = [
path: { "$params.outdir/pathogens/consensus/" },
mode: params.publish_dir_mode,
Expand Down
2 changes: 1 addition & 1 deletion modules/local/medaka_consensus/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ process MEDAKA_PARALLEL {
mini_align \\
-i ${reads} \\
-r \$assembly \\
-P -m \\
-m \\
-t $task.cpus \\
-p ${prefix}_calls_to_draft \\
${args1}
Expand Down

0 comments on commit 0c4f16e

Please sign in to comment.