We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b679c90 commit 3f1c0ddCopy full SHA for 3f1c0dd
wdl/pipelines/TechAgnostic/VariantCalling/HiFiCNV.wdl
@@ -83,6 +83,11 @@ task PacBioHiFiCNV {
83
84
num_core=$(cat /proc/cpuinfo | awk '/^processor/{print $3}' | wc -l)
85
86
+ # re-generate the bai to ensure it's not corrupted, as corrupted bai can cause hificnv to fail without a clear error message
87
+ rm ~{bai} \
88
+ && \
89
+ samtools index ~{bam}
90
+
91
hificnv \
92
--bam ~{bam} \
93
--ref ~{ref_fasta} \
0 commit comments