Skip to content

Commit f8a388f

Browse files
committed
Fix parameter for GATK HC too
1 parent 8a471e3 commit f8a388f

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

conf/modules.config

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1648,8 +1648,7 @@ process {
16481648
tag = { "${meta.reference}|${meta.sample_id}" }
16491649
ext.args = {
16501650
[
1651-
"--sample-ploidy ${meta2.ploidy}",
1652-
ref_meta.ploidy ? "--sample-ploidy ${ref_meta.ploidy}" : "--sample-ploidy 2",
1651+
meta2.ploidy ? "--sample_ploidy ${meta2.ploidy}" : "--sample_ploidy 2",
16531652
"-stand-call-conf ${params.genotyping_gatk_call_conf}",
16541653
"--output-mode ${params.genotyping_gatk_hc_out_mode}",
16551654
"--emit-ref-confidence ${params.genotyping_gatk_hc_emitrefconf}",

nextflow_schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1088,7 +1088,7 @@
10881088
"type": "integer",
10891089
"default": 2,
10901090
"description": "Specify the ploidy of the reference organism.",
1091-
"help_text": "Specify the desired ploidy value of your reference organism for genotyping with GATK or FreeBayes. E.g. if you want to allow heterozygous calls this value should be >= 2.\n\n> Modifies GATK UnifiedGenotyper parameter: `--sample_ploidy`\n> Modifies GATK HaplotypeCaller parameter: `--sample-ploidy`\n> Modifies FreeBayes parameter: `-p`",
1091+
"help_text": "Specify the desired ploidy value of your reference organism for genotyping with GATK or FreeBayes. E.g. if you want to allow heterozygous calls this value should be >= 2.\n\n> Modifies GATK UnifiedGenotyper parameter: `--sample_ploidy`\n> Modifies GATK HaplotypeCaller parameter: `--sample_ploidy`\n> Modifies FreeBayes parameter: `-p`",
10921092
"fa_icon": "fas fa-pastafarianism"
10931093
},
10941094
"genotyping_pileupcaller_min_base_quality": {

0 commit comments

Comments
 (0)