#!/bin/bash -Ceuo pipefail sentieon driver \ -t 31 \ -r Homo_sapiens_assembly38.fasta \ -i HCC1395_tumor.md.bam \ --read_filter QualCalFilter,table=HCC1395_tumor.table,indel=false \ --algo QualCal \ \ -k dbsnp_146.hg38.vcf.gz -k Mills_and_1000G_gold_standard.indels.hg38.vcf.gz -k Homo_sapiens_assembly38.known_indels.vcf.gz \ HCC1395_tumor.table.post \ --algo ReadWriter HCC1395_tumor.recalibrated.bam # Sentieon ReadWriter doesn't create index - use samtools samtools index HCC1395_tumor.recalibrated.bam sentieon driver \ -t 31 \ --algo QualCal \ --plot \ --before HCC1395_tumor.table \ --after HCC1395_tumor.table.post \ \ HCC1395_tumor.csv sentieon plot QualCal -o HCC1395_tumor.pdf HCC1395_tumor.csv cat <<-END_VERSIONS > versions.yml "DAQ:SENTIEON_BQSR:QUALCAL_APPLY": sentieon: $(echo $(sentieon driver --version 2>&1) | sed -e "s/sentieon-genomics-//g") END_VERSIONS