Skip to content

Commit

Permalink
prevent constant redownload of refgenome when starting multiple workf…
Browse files Browse the repository at this point in the history
…lows
  • Loading branch information
riasc committed Jan 15, 2024
1 parent fa550be commit 559554e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions workflow/rules/ref.smk
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,12 @@ rule mod_genome:
shell:
"""
python3 workflow/scripts/modify_ensembl_header.py {input.genome} {output.genome} {input.annotation} {output.annotation}
rm resources/refs/genome_tmp.fasta
rm resources/refs/genome_tmp.gtf
"""

# this forces to redownload the reference on each execution
## rm resources/refs/genome_tmp.fasta
# rm resources/refs/genome_tmp.gtf

rule genome_index:
input:
"resources/refs/genome.fasta"
Expand Down

0 comments on commit 559554e

Please sign in to comment.