nt=$(nproc) | nt=$(nproc) | ||||
bcftools concat -a ${vcf_indels} ${vcf_snvs} -Oz -o ${sample_id}_stralka.vcf.gz | bcftools concat -a ${vcf_indels} ${vcf_snvs} -Oz -o ${sample_id}_stralka.vcf.gz | ||||
bcftools index -t ${sample_id}_stralka.vcf.gz | |||||
>>> | >>> | ||||
} | } | ||||
output { | output { | ||||
File norm_vcf = "${sample_id}_stralka.vcf.gz" | |||||
File concat_vcf = "${sample_id}_stralka.vcf.gz" | |||||
File concat_vcf_index = "${sample_id}_stralka.vcf.gz.tbi" | |||||
} | } | ||||
} | } |