A Python library for parsing OBO (Open Biological and Biomedical Ontologies) files.
Project description
A Python library for parsing OBO(Open Biological and Biomedical Ontologies) files.
Installation
pip install obo_parser
Usage
Use in Command Line
obo_parser headers -f path/to/obo_file.obo
obo_parser headers -f path/to/obo_file.obo -o headers.json
obo_parser terms -f path/to/obo_file.obo
obo_parser terms -f path/to/obo_file.obo -o terms.jl
Use in Python
from obo_parser.parser import OBO_Parser
obo = OBO_Parser('./hp.obo')
print(obo.headers)
for term in obo.terms:
print(term)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
obo_parser-1.0.1.tar.gz
(3.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file obo_parser-1.0.1.tar.gz.
File metadata
- Download URL: obo_parser-1.0.1.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c866cba05cc64b1fc75c2ed6deba89b2dfd77a2e1d2e096fc5ee025a24ea753b
|
|
| MD5 |
38b08948d99f4e10884d477733a59b56
|
|
| BLAKE2b-256 |
ed56d20c0234c279b8f6182b0faab4ad9bf24ba572972e42b72dcec1653d3f84
|
File details
Details for the file obo_parser-1.0.1-py3-none-any.whl.
File metadata
- Download URL: obo_parser-1.0.1-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d7a200fa24c670725d93d0160209cb86c9767e0752fb93827e2fde5d105e360f
|
|
| MD5 |
7615fec7719d06b3f6b17574bbb0d2e2
|
|
| BLAKE2b-256 |
94f9baa008c8b0a5df420c09d5c27e0b1443dc7612296a9a4710c1fc37e1b8c8
|