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.2.tar.gz
(4.0 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.2.tar.gz.
File metadata
- Download URL: obo_parser-1.0.2.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d63fca91e1297b6c327e1f78e94a80c9c71a462eb1deb0cd1790dc389304bd0
|
|
| MD5 |
8e1e082e6fadd01df2fecaeb19e88e98
|
|
| BLAKE2b-256 |
d5dee80978ae17473aa88db046fb35d420017274625961caca8c05f8d77cc2db
|
File details
Details for the file obo_parser-1.0.2-py3-none-any.whl.
File metadata
- Download URL: obo_parser-1.0.2-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 |
235364a6454bf0fe34b9ca8bfb4479482af46b47a311f4f8bccf4a2da777d145
|
|
| MD5 |
38d2da47a6a50e7772384f4ddc358f5b
|
|
| BLAKE2b-256 |
857c07ef09759c0e8df17b703d6ab45d0eaa930a3c11141dd5f71e0b89b1f3fd
|