diff --git a/eva_submission/nextflow/prepare_brokering.nf b/eva_submission/nextflow/prepare_brokering.nf index 7b7fe5d..aeaac2d 100644 --- a/eva_submission/nextflow/prepare_brokering.nf +++ b/eva_submission/nextflow/prepare_brokering.nf @@ -140,7 +140,7 @@ process normalise_vcf { trap 'if [[ \$? == 1 || \$? == 139 || \$? == 255 ]]; then exit 0; fi' EXIT mkdir normalised_vcfs - $params.executable.bcftools norm --no-version -f $fasta -O z -o normalised_vcfs/$vcf_file $vcf_file 2> normalised_vcfs/${vcf_file.getBaseName()}_bcftools_norm.log + $params.executable.bcftools norm --no-version -cw -f $fasta -O z -o normalised_vcfs/$vcf_file $vcf_file 2> normalised_vcfs/${vcf_file.getBaseName()}_bcftools_norm.log $params.executable.bcftools index -c normalised_vcfs/$vcf_file """ }