Browse Source

更新 'tasks/bcftools_concat.wdl'

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

+ 6
- 6
tasks/bcftools_concat.wdl View File

@@ -14,10 +14,10 @@ task bcftools {
set -e
nt=$(nproc)
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
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

>>>
@@ -29,7 +29,7 @@ task bcftools {
}
output {
File concat_vcf = "${sample_id}_strelka.PASS.vcf.gz"
File concat_vcf_index = "${sample_id}_strelka.PASS.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