Skip to content

Commit

Permalink
Use hardlinks instead of copy, since BAM files are large
Browse files Browse the repository at this point in the history
  • Loading branch information
Redmar-van-den-Berg committed Nov 6, 2023
1 parent 73a8823 commit 85e9d38
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions includes/snv-indels/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ samples = [SimpleNamespace(sample=sample) for sample in pep.sample_table["sample
localrules:
filter_vep_target,
filter_vep_high,
final_bamfile,


rule all:
Expand Down Expand Up @@ -107,8 +108,8 @@ rule final_bamfile:
containers["picard"]
shell:
"""
cp {input.bam} {output.bam} 2> {log}
cp {input.bai} {output.bai} 2>> {log}
ln {input.bam} {output.bam} 2> {log}
ln {input.bai} {output.bai} 2>> {log}
"""


Expand Down

0 comments on commit 85e9d38

Please sign in to comment.