Skip to content

Commit

Permalink
fix: refactor tRNA annotation download
Browse files Browse the repository at this point in the history
  • Loading branch information
ftabaro committed Mar 11, 2024
1 parent d4ce292 commit 5f03a6f
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions workflow/rules/download-references.smk
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,25 @@ rule download_repeatmasker_annotation_file:
"../scripts/get_rmsk.py"


checkpoint download_gtRNAdb:
rule download_gtRNAdb:
output:
protected(directory(tRNA_annotation_dir)),
protected(
multiext(
str(tRNA_annotation_dir.joinpath(config["genome"]["label"])),
"-filtered-tRNAs.fa",
"-mature-tRNAs.fa",
"-tRNAs_name_map.txt",
"-tRNAs-confidence-set.out",
"-tRNAs-confidence-set.ss",
"-tRNAs-detailed.out",
"-tRNAs-detailed.ss",
"-tRNAs.bed",
"-tRNAs.fa",
)
),
params:
url=config["genome"]["gtrnadb_url"],
output_dir=tRNA_annotation_dir,
log:
log_folder.joinpath("download/genome/gtrnadb.log"),
conda:
Expand Down

0 comments on commit 5f03a6f

Please # to comment.