Skip to content

Commit 3f1c0dd

Browse files
committed
huh?
1 parent b679c90 commit 3f1c0dd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

wdl/pipelines/TechAgnostic/VariantCalling/HiFiCNV.wdl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,11 @@ task PacBioHiFiCNV {
8383
8484
num_core=$(cat /proc/cpuinfo | awk '/^processor/{print $3}' | wc -l)
8585
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+
8691
hificnv \
8792
--bam ~{bam} \
8893
--ref ~{ref_fasta} \

0 commit comments

Comments
 (0)