owlcollab / owltools

OWLTools
BSD 3-Clause "New" or "Revised" License
108 stars 33 forks source link

new command: copy-axiom (rewrite source axioms in terms of target, check for incoherency) #230

Closed cmungall closed 6 years ago

cmungall commented 6 years ago

Scenario:

we have a source/external ontology (e.g. NCIT) with axioms we generally trust. We have a target ontology (e.g. MONDO). We also have equivalence axioms between named classes in the two.

We would like to transfer axioms across, rewriting URIs according to equivalence, preserving full provenance (usual OBO way: axiom annotations).

We also want to provide checks to ensure that axioms we bring across do not cause incoherency.

Arguments:

--copy-axioms [-m MAPONT] [-s SRCONT] [-n] [-l] [--no-strict]      copies axioms from SRC to current (target) ontology

The -l axiom should force logical checks.