Skip to content

Commit

Permalink
Remove dfam lib possibility
Browse files Browse the repository at this point in the history
  • Loading branch information
zjnolen committed Nov 1, 2024
1 parent df7e1d9 commit 751e331
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions workflow/rules/0.2_ref_filt.smk
Original file line number Diff line number Diff line change
Expand Up @@ -360,12 +360,6 @@ rule repeatmasker:
repeatmodmask_container
params:
out=lambda w, output: os.path.dirname(output.gff),
libpre="-species" if config["analyses"]["repeatmasker"]["dfam_lib"] else "-lib",
lib=lambda w, input: (
f"'{config['analyses']['repeatmasker']['dfam_lib']}'"
if config["analyses"]["repeatmasker"]["dfam_lib"]
else input.lib
),
threads: 5
resources:
runtime="720m",
Expand All @@ -375,7 +369,7 @@ rule repeatmasker:
"repmask"
shell:
"""
RepeatMasker -pa 1 {params.libpre} {params.lib} -gff -x \
RepeatMasker -pa 1 -lib {input.lib} -gff -x \
-no_is -dir {params.out} {input.ref} &> {log}
"""

Expand Down

0 comments on commit 751e331

Please sign in to comment.