Browse Source

更新 'tasks/bcftools_concat.wdl'

master
meng 2 years ago
parent
commit
43968cec5a
1 changed files with 6 additions and 4 deletions
  1. +6
    -4
      tasks/bcftools_concat.wdl

+ 6
- 4
tasks/bcftools_concat.wdl View File

@@ -14,8 +14,10 @@ task bcftools {
set -e
nt=$(nproc)
bcftools concat -a ${vcf_indels} ${vcf_snvs} -Oz -o ${sample_id}_stralka.vcf.gz
bcftools index -t ${sample_id}_stralka.vcf.gz
bcftools concat -a ${vcf_indels} ${vcf_snvs} -Oz -o ${sample_id}_strelka.vcf.gz
bcftools norm -m -both ${sample_id}_strelka.vcf.gz -O z -o ${sample_id}_strelka.norm.vcf.gz
bcftools view -O z -f 'PASS' ${sample_id}_strelka.norm.vcf.gz -o ${sample_id}_strelka.PASS.vcf.gz
bcftools index -t ${sample_id}_strelka.PASS.vcf.gz

>>>
@@ -27,7 +29,7 @@ task bcftools {
}
output {
File concat_vcf = "${sample_id}_stralka.vcf.gz"
File concat_vcf_index = "${sample_id}_stralka.vcf.gz.tbi"
File concat_vcf = "${sample_id}_strelka.PASS.vcf.gz"
File concat_vcf_index = "${sample_id}_strelka.PASS.vcf.gz.tbi"
}
}

Loading…
Cancel
Save