Skip to content
Snippets Groups Projects
Commit d1cb5e4a authored by Valentina Galata's avatar Valentina Galata
Browse files

updated operams installation rule and log file name for rgi db

parent 1c731cdc
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,7 @@ rule install_minced:
# OPERA-MS
rule install_operams:
output:
os.path.join(MOD_DIR, "operams/OPERA-MS.pl")
os.path.join(MOD_DIR, "operams/installation.done")
log:
"logs/setup.operams.log"
params:
......@@ -41,7 +41,7 @@ rule install_operams:
message:
"Setup: install OPERA-MS"
shell:
"(cd ${params.path} && make && perl utils/install_perl_module.pl && perl OPERA-MS.pl check-dependency) &> {log}"
"(cd ${params.path} && make && perl utils/install_perl_module.pl && perl OPERA-MS.pl check-dependency) &> {log} && touch {output}"
# Download RGI data
rule download_rgi_db:
......@@ -81,7 +81,7 @@ rule setup_bbmap_host_ref:
output:
os.path.join(DB_DIR, "{bname}.fasta")
log:
"logs/setup.bbmap.hostref.log"
"logs/setup.bbmap.hostref.{bname}.log"
params:
url=lambda wildcards, output: config["bbmap"]["host_refs"][wildcards.bname]
shell:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment