File Info

Filename
.command.sh
Full Path
s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/14/a9b72a8ab2ebe3379f2143c0ee582b/.command.sh
Size
600 bytes
Attempt
#!/bin/bash -Ceuo pipefail
bcftools index Sig_18_Blood.deconflicted_germline_RPM.vcf.gz

bcftools \
    annotate \
    --output-type z --write-index=tbi -c CHROM,FROM,TO,BlacklistRegion \
    --annotations blacklist_grch38.bed.gz \
    --header-lines blacklist_header.txt \
    --output Sig_18_Blood.deconflicted_germline_BL.vcf.gz \
    --threads 1 \
    Sig_18_Blood.deconflicted_germline_RPM.vcf.gz

cat <<-END_VERSIONS > versions.yml
"NFCORE_SAREK:SAREK:VCF_ANNOTATE_ALL:VCF_ANNOTATE_BLACKLIST:BCFTOOLS_ANNOTATE":
    bcftools: $( bcftools --version |& sed '1!d; s/^.*bcftools //' )
END_VERSIONS