Python3 parser and network representation of Open Biological and Biomedical Ontologies (OBO)
Project description
Usage
from pobo import Parser
parser = Parser("file.obo")
parser.headers.get("format-version")
parser.headers.get("...")
for stanza in parser:
stanza.name
stanza.tags
for tag, value in stanza.tags.items():
...
include modifiers
parser = Parser("file.obo", include_modifiers=True)
...
for tag, value in stanza.tags.items():
value.value
value.modifiers
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pobo-1.1.1.tar.gz
(3.6 kB
view hashes)