Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ESB
ONT_pilot_gitlab
Commits
76d42320
Commit
76d42320
authored
Apr 14, 2021
by
Valentina Galata
Browse files
workflow: annottaion: hmm/kegg: db file not required if not set (issue
#127
)
parent
9177187f
Changes
1
Hide whitespace changes
Inline
Side-by-side
workflow/rules/annotation.smk
View file @
76d42320
...
...
@@ -166,7 +166,7 @@ rule annotation_barrnap:
rule annotation_hmm_kegg:
input:
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 []
output:
os.path.join(RESULTS_DIR, "annotation/hmm/kegg/{rtype}/{tool}/hmm.tblout")
log:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment