Skip to content

Commit

Permalink
Add workaround for Snakemake bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Redmar-van-den-Berg committed Feb 18, 2025
1 parent 51dfeb6 commit 057e1d1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions includes/snv-indels/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,10 @@ rule final_bamfile:
containers["picard"]
shell:
"""
# Sleep 10 seconds as a workaround for a bug in Snakemake
# See https://github.com/snakemake/snakemake/issues/3261
sleep 10;
ln {input.bam} {output.bam} 2> {log}
ln {input.bai} {output.bai} 2>> {log}
"""
Expand Down

0 comments on commit 057e1d1

Please sign in to comment.