Commit 76d42320 authored by Valentina Galata's avatar Valentina Galata
Browse files

workflow: annottaion: hmm/kegg: db file not required if not set (issue #127)

parent 9177187f
......@@ -166,7 +166,7 @@ rule annotation_barrnap:
rule annotation_hmm_kegg:
faa=os.path.join(RESULTS_DIR, "annotation/prodigal/{rtype}/{tool}/proteins.faa"),
hmm=os.path.join(DB_DIR, config["hmm"]["kegg"])
hmm=[os.path.join(DB_DIR, config["hmm"]["kegg"])] if config["hmm"]["kegg"] else []
os.path.join(RESULTS_DIR, "annotation/hmm/kegg/{rtype}/{tool}/hmm.tblout")
Supports Markdown
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