Snakefile 580 Bytes
Newer Older
Kenzo-Hugo Hillion's avatar
Kenzo-Hugo Hillion committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
__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}"