Skip to content

Commit

Permalink
Merge pull request #258 from replikation/fix_disable-artic-norm
Browse files Browse the repository at this point in the history
fixed disabling of artic normalisation
  • Loading branch information
MarieLataretu authored Sep 14, 2023
2 parents aa993eb + 7e1bf51 commit 8b953c7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions workflows/process/artic.nf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ process artic_medaka {
tuple val(name), path("${name}.fail.vcf"), emit: vcf_fail

script:
def normalise_arg = normalise_threshold ? "--normalise ${normalise_threshold}" : ''
def normalise_arg = normalise_threshold ? "--normalise ${normalise_threshold}" : '--normalise 0'
"""
artic minion --medaka \
--medaka-model ${params.medaka_model} \
Expand Down Expand Up @@ -89,7 +89,7 @@ process artic_medaka_custom_bed {
tuple val(name), path("${name}.coverage_mask.txt"), emit: coverage_mask
tuple val(name), path("${name}.fail.vcf"), emit: vcf_fail
script:
def normalise_arg = normalise_threshold ? "--normalise ${normalise_threshold}" : ''
def normalise_arg = normalise_threshold ? "--normalise ${normalise_threshold}" : '--normalise 0'
"""
# create a new primer dir as input for artic
mkdir -p primer_scheme/nCoV-2019
Expand Down Expand Up @@ -167,7 +167,7 @@ process artic_nanopolish {
tuple val(name), path("${name}.coverage_mask.txt"), emit: coverage_mask
tuple val(name), path("${name}.fail.vcf"), emit: vcf_fail
script:
def normalise_arg = normalise_threshold ? "--normalise ${normalise_threshold}" : ''
def normalise_arg = normalise_threshold ? "--normalise ${normalise_threshold}" : '--normalise 0'
"""
artic minion --minimap2 \
${normalise_arg} \
Expand Down Expand Up @@ -234,7 +234,7 @@ process artic_nanopolish_custom_bed {
tuple val(name), path("${name}.coverage_mask.txt"), emit: coverage_mask
tuple val(name), path("${name}.fail.vcf"), emit: vcf_fail
script:
def normalise_arg = normalise_threshold ? "--normalise ${normalise_threshold}" : ''
def normalise_arg = normalise_threshold ? "--normalise ${normalise_threshold}" : '--normalise 0'
"""
# create a new primer dir as input for artic
mkdir -p primer_scheme/nCoV-2019
Expand Down

0 comments on commit 8b953c7

Please sign in to comment.