Commit 5baaeed4 authored by Valentina Galata's avatar Valentina Galata
Browse files

mongoDB.smk: fixed wrong config keywords and a syntax error in a rule msg

parent 1135e829
......@@ -30,7 +30,7 @@ rule shut_mongo:
touch("status/DB_filling.done")
params:
port = config["mongo_port"],
message: "shut_mongo: killing mongod on config["mongo_port"]."
message: "shut_mongo: killing mongod on {port}.".format(port=config["mongo_port"])
shell:
"""
mongod --dbpath {input[0]} --port {params.port} --shutdown
......@@ -56,7 +56,7 @@ rule mongoDB_bins:
params:
ass = ASS,
sample = SAMPLE,
binners = config["Binning"]["Binners"],
binners = config["binning"]["binners"],
dbs = config["hmm_DBs"],
user = config["mongo_user"],
password = config["mongo_password"],
......@@ -79,7 +79,7 @@ rule mongoDB_contigs:
params:
ass = ASS,
sample = SAMPLE,
binners = config["Binning"]["Binners"],
binners = config["binning"]["binners"],
dbs = config["hmm_DBs"],
user = config["mongo_user"],
password = config["mongo_password"],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment