Skip to main content

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


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.0.tar.gz (879 Bytes view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page