Skip to content
Snippets Groups Projects

Resolve "change the location of the ontologies"

Merged Mouhamadou Ba requested to merge 74-change-the-location-of-the-ontologies into dev
6 files
+ 39
73
Compare changes
  • Side-by-side
  • Inline
Files
6
+ 0
34
## config file
configfile: "config/config.yaml"
ONTONAMES = 'BioNLP-OST+EnovFood-Habitat BioNLP-OST+EnovFood-Phenotype BioNLP-OST+EnovFood-Use'
'''
all
'''
rule all:
input:
expand("ancillaries/{ontoname}.paths", ontoname=ONTONAMES.split(' '))
'''
generate concept paths
'''
rule generate_concept_path:
input:
onto="ancillaries/{ontoname}.obo"
output:
paths="ancillaries/{ontoname}.paths"
params:
plan="plans/get_onto_paths.plan"
singularity:config['SINGULARITY_IMG']
shell: """alvisnlp -cleanTmp -verbose \
-alias input {input.onto} \
-alias output {output.paths} \
{params.plan}
"""
Loading