Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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.

Files for pobo, version 1.1.1
Filename, size File type Python version Upload date Hashes
Filename, size pobo-1.1.1.tar.gz (3.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page