Code Monkey home page Code Monkey logo

obo-utils's People

Contributors

rbossy avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

obo-utils's Issues

[umls2obo] reverse is_a relationships

The is_a relationships seems reversed after the umls2obo: the isa are more hasForChild.

For instance:
[Term]
id: C0556144
name: purine or derivative
synonym: "purines and derivatives" EXACT []
synonym: "purine or purine derivative (substance)" EXACT []
synonym: "purine or purine derivative" EXACT []
is_a: C0034136 ! nucleosides, purine
is_a: C0034137 ! nucleotides, purine
is_a: C0039771 ! theophyllin
is_a: C0041980 ! acid, uric
is_a: C0043314 ! xanthine
is_a: C0043315 ! xanthine or xanthine derivative
is_a: C0045643 ! 2,8-dihydroxyadenine
is_a: C0066447 ! methylxanthines
is_a: C0220903 ! purines
is_a: C0935936 ! urates
is_a: C1630404 ! purine derivative diuretic

and the correct in the UMLS should be:

[Term]
id: C1630404
name: purine derivative diuretic
synonym: "purine derivative diuretic (substance)" EXACT []
is_a: C0556144 ! purine or derivative
is_a: C0012798 ! diuretic

probléme due au passage en python 3

@rbossy je viens de constater que tes derniéres modifs concernant python3 ont causé des problémes à l'utilisation du script https://github.com/Bibliome/obo-utils/blob/master/obo2obo.py dans pipeline omnicrobe.

J'ai une ontology vide comme résultat quand j'utilise la version actuelle du code avec python2 et une erreur "AttributeError: 'dict' object has no attribute 'itervalues'" quand j'utilise python3

Le dernier commit qui fonctionne pour moi est la suivante 06ae8a1 et c'est avec Python 2.7.15

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.