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.1.tar.gz (3.6 kB view details)

Uploaded Source

File details

Details for the file pobo-1.1.1.tar.gz.

File metadata

  • Download URL: pobo-1.1.1.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pobo-1.1.1.tar.gz
Algorithm Hash digest
SHA256 4d31d803d1c1c78e6a1682d3b67e5d259d81f7d0d9bacf39434276af38cdb758
MD5 dc495fafedab4617a584c2f2ff6ecca4
BLAKE2b-256 3afece4a695779df62c91cfeaf16b92e84ce70b775016dccada3aa5c19a28f88

See more details on using hashes here.

Supported by

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