Git Product home page Git Product logo

sweet-obo-alignment's Introduction

Alignment between SWEET and OBOs

ALPHA DO NOT TRUST THE RESULTS HERE YET

This repo contains a pipeline and results for aligning the various ESIP SWEET ontologies with OBOs.

Currently this is automated but the goal is to learn from a seed of initial curated equivalence axioms using kboom.

Running the pipeline

make setup
. env.sh
make

On subsequent runs, you do not need make setup. This clones SWEET into this repo and downloads owltools.

In the same terminal session you only need to do . env.sh once

Results

Each file is the export of a python dataframe with a mapping and a variety of scores and information. Consult ontobio docs for explanation (TODO)

Note that at this stage it is expected the results include false positives, e.g:

http://sweetontology.net/realmCryo#Calf,,UBERON:0003823,hindlimb zeugopod

clearly an ice calf is not the same as the "calf" of your leg. We will add high level axioms as 'training' and iterate improving results

Methods

We use ontobio-lexmap

sweet classes typically do not have rdfs:labels (some do). We take the URI fragment and split the camel case to generate tokenized labels for each class (this is done automatically by lexmap.py).

Note that sweet classes do not have synonyms - instead sweet has equivalence axioms linking two concepts deemed identical. This is in contrast to OBOs, where we would merge equivalent classes and make the label from one be a synonym of the other.

When attempting to map, we treat each sweet class as distinct, even if they are connected by equivalence axioms. We opt not to do a pre-merging step. This means that we will have some apparent false negatives, but these will be incorporated at the reasoning stage.

sweet-obo-alignment's People

Contributors

cmungall avatar lewismc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

lewismc rduerr

sweet-obo-alignment's Issues

Use CSV instead of TSV

Hi @cmungall I am going to move forward with serializing the mappings we can generate here to TTL similar to what we have done with the SWEET W3C SOSA/SSN alignment.
In order to build generic useful tooling, it would be helpful if the generated alignments we produce here were manifested as CSV instead of TSV. I was thinking of writing a small Java program which essentially iterates through the alignments and maps them to TTL.
I see that there is an existing csv2tsv.py file... is it necessary to do the CSV to TSV mapping or can you please remove that step and write mappings as CSV only?

'make' command fails due to missing catalog-v001.xml

When a user downloads this project and attempt to make setup, . env.sh and make the final task fails initially as catalog-v001.xml does not yet exist within sweet/src/ yet. This is a trivial bug which we should iron out.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.