OBO=http://purl.obolibrary.org/obo SRC = trait_xp EXT = $(OBO)/pato.owl $(OBO)/po.owl $(OBO)/chebi.owl #FMA-mireot.obo: human-phenotype-ontology_xp_FMA.obo # blip -i $< -r human_phenotype -r fma_simple ontol-query -table_pred ontol_db:subclassT/2 -query "differentium(X,_,Y),id_idspace(X,'HP'),\+id_idspace(Y,'HP'),subclassRT(Y,ID),class(ID)" -to obo > $@.tmp && cat $@.tmp > $@ build: trait_xp-combined.obo ontology-release-runner --allow-overwrite --outdir main --no-subsets --reasoner elk --add-support-from-imports --simple --asserted $< justify: trait_xp-combined.obo ontology-release-runner --ignoreLock --allow-overwrite --outdir main-justify --no-subsets --reasoner elk --add-support-from-imports --justify-from TO:0000387 --asserted $< trait_xp-combined.obo: trait_xp.obo trait.obo plant-chemical-role.obo owltools $< trait.obo plant-chemical-role.obo --merge-support-ontologies --set-ontology-id $(OBO)/to.owl -o -f obo $@ trait_xp-obol.obo: obol qobol -ontology TO -tag trait -undefined_only true -export obo > $@