Skip to content

Parses ontologies in .obo format (such as the Human Phenotype Ontology) and converts them to a .tsv table.

License

Notifications You must be signed in to change notification settings

macarthur-lab/obo_parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Parses ontologies in .obo format (such as the Human Phenotype Ontology) and converts them to a .tsv table.

https://travis-ci.org/macarthur-lab/obo_parser.svg?branch=master

Install

git clone https://github.com/macarthur-lab/obo_parser.git

Test

python -m unittest discover

Run

Examples:

python obo_parser.py --help
python obo_parser.py -r HP:0000118 http://purl.obolibrary.org/obo/hp.obo -o hpo.tsv
python obo_parser.py -c -r HP:0000118 http://purl.obolibrary.org/obo/hp.obo | cut -f 1,2,4,5,10,11 > hp.tsv

About

Parses ontologies in .obo format (such as the Human Phenotype Ontology) and converts them to a .tsv table.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages