cdd / bioassay-template

Other
7 stars 2 forks source link

PairedWith now implies Remapping #116

Closed aclarkxyz closed 5 years ago

aclarkxyz commented 5 years ago

The cell line merging resulted in the creation of cellmerge.ttl, which combined CLO & BTO wherever possible, e.g.

# CLO [Cos-7] paired with BRENDA [COS-7 cell]
bao:BAO_0000732 obo:IAO_0000115 "African green monkey kidney derived from CV-1, a simian cell line (cercopithecus aethiops), by transformation with an origin-defective mutant of SV-40; cells were described to support the growth of SV-40 viruses." .
obo:BTO_0000298 a bat:eliminated .
bao:BAO_0000732 bat:pairedWith obo:BTO_0000298 .

In this PR, the bat:pairedWith is examined and as long as there is an accompanying bat:eliminated statement, it gets translated into a remapping instruction, which gets stored in the outgoing vocab.dump. Updating this all the way through to BAE will cause the superfluous BTO terms to quietly disappear.