Skip to content

Commit

Permalink
do not catch error during normalisation. (#172)
Browse files Browse the repository at this point in the history
Failure should be raised to user
  • Loading branch information
tcezard authored Sep 29, 2023
1 parent b99c365 commit 8c8ef67
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions eva_submission/nextflow/prepare_brokering.nf
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,6 @@ process normalise_vcf {

script:
"""
trap 'if [[ \$? == 1 || \$? == 139 || \$? == 255 ]]; then exit 0; fi' EXIT
mkdir normalised_vcfs
$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
Expand Down

0 comments on commit 8c8ef67

Please sign in to comment.