Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Metagenomics
snakemake
Commits
2462bf79
Commit
2462bf79
authored
May 13, 2019
by
Kenzo-Hugo Hillion
♻
Browse files
add rules for graphlan
parent
43f4ae31
Changes
3
Hide whitespace changes
Inline
Side-by-side
tools/graphlan/export2graphlan/export2graphlan.rules
0 → 100644
View file @
2462bf79
__export2graphlan_exec_command = config['export2graphlan'].get('exec_command', 'export2graphlan.py')
__export2graphlan_options = config['export2graphlan'].get('options', "")
rule export2graphlan:
input:
__export2graphlan_input
output:
tree = __export2graphlan_output_tree
annot = __export2graphlan_output_annot
params:
exec_command = __export2graphlan_exec_command,
options = __export2graphlan_options
shell:
"{params.exec_command} {params.options} -i {input} -tree {output.tree} --annotation {output.annot}"
tools/graphlan/graphlan/graphlan.rules
0 → 100644
View file @
2462bf79
__graphlan_exec_command = config['graphlan'].get('exec_command', 'graphlan.py')
__graphlan_options = config['graphlan'].get('options', "")
rule graphlan:
input:
__graphlan_input
output:
__graphlan_output
params:
exec_command = __graphlan_exec_command,
options = __graphlan_options
shell:
"{params.exec_command} {params.options} {input} {output}"
tools/graphlan/graphlan_annotate/graphlan_annotate.rules
0 → 100644
View file @
2462bf79
__graphlan_annotate_exec_command = config['graphlan_annotate'].get('exec_command', 'graphlan_annotate.py')
__graphlan_annotate_options = config['graphlan_annotate'].get('options', "")
rule graphlan_annotate:
input:
tree = __graphlan_annotate_input_tree
annot = __graphlan_annotate_input_annot
output:
__graphlan_annotate_output
params:
exec_command = __graphlan_annotate_exec_command,
options = __graphlan_annotate_options
shell:
"{params.exec_command} {params.options} --annot {input.annot} {input.tree} {output}"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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