|
|
@@ -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" |
|
|
|
} |
|
|
|
} |