All Projects → fastobo → fastobo-py

fastobo / fastobo-py

Licence: MIT license
Faultless AST for Open Biomedical Ontologies in Python.

Programming Languages

rust
11053 projects
python
139335 projects - #7 most used programming language
powershell
5483 projects

Projects that are alternatives of or similar to fastobo-py

environmental-exposure-ontology
Modular environmental exposures ontology
Stars: ✭ 20 (-4.76%)
Mutual labels:  ontology, obo, obofoundry
obi
The Ontology for Biomedical Investigations
Stars: ✭ 49 (+133.33%)
Mutual labels:  ontology, obo, obofoundry
pronto
A Python frontend to (Open Biomedical) Ontologies.
Stars: ✭ 202 (+861.9%)
Mutual labels:  ontology, obo, obofoundry
evidenceontology
Evidence & Conclusion Ontology development site: Use ISSUES to request terms. See WIKI for how to request terms. See README for how to cite ECO. Visit our website for more project info.
Stars: ✭ 35 (+66.67%)
Mutual labels:  ontology, obo, obofoundry
ontobio
python library for working with ontologies and ontology associations
Stars: ✭ 104 (+395.24%)
Mutual labels:  ontology, obo, obofoundry
MAxO
Medical action ontology
Stars: ✭ 26 (+23.81%)
Mutual labels:  ontology, obofoundry
uberon
An ontology of gross anatomy covering metazoa. Works in concert with https://github.com/obophenotype/cell-ontology
Stars: ✭ 104 (+395.24%)
Mutual labels:  ontology, obofoundry
foodon
The core repository for the FOODON food ontology project. This holds the key classes of the ontology; larger files and the results of text-mining projects will be stored in other repos.
Stars: ✭ 137 (+552.38%)
Mutual labels:  ontology, obofoundry
HPO-translations
Internationalisation of the HPO content
Stars: ✭ 19 (-9.52%)
Mutual labels:  ontology, obofoundry
koza
Data transformation framework for LinkML data models
Stars: ✭ 21 (+0%)
Mutual labels:  ontology, obofoundry
cell-ontology
An ontology of cell types
Stars: ✭ 75 (+257.14%)
Mutual labels:  ontology, obofoundry
plant-trait-ontology
Explore the Plant Trait Ontology on the Planteome site.
Stars: ✭ 26 (+23.81%)
Mutual labels:  obo, obofoundry
pyobo
📛 A Python package for using ontologies, terminologies, and biomedical nomenclatures
Stars: ✭ 32 (+52.38%)
Mutual labels:  obo, obofoundry
knowledge-graph-change-language
Tools for working with KGCL
Stars: ✭ 14 (-33.33%)
Mutual labels:  ontology, obofoundry
dead simple owl design patterns
A simple system for specifying OWL class design patterns for OBO-ish ontologies.
Stars: ✭ 34 (+61.9%)
Mutual labels:  ontology, obofoundry
mondo
Mondo Disease Ontology
Stars: ✭ 156 (+642.86%)
Mutual labels:  ontology, obofoundry
envo
A community-driven ontology for the representation of environments
Stars: ✭ 106 (+404.76%)
Mutual labels:  ontology, obofoundry
sql-parser
Parse SQL (select) statements into abstract syntax tree (AST) and convert ASTs back to SQL.
Stars: ✭ 230 (+995.24%)
Mutual labels:  ast
py-lua-parser
A Lua parser and AST builder written in Python.
Stars: ✭ 69 (+228.57%)
Mutual labels:  ast
MarkdownSyntax
☄️ A Type-safe Markdown parser in Swift.
Stars: ✭ 65 (+209.52%)
Mutual labels:  ast

fastobo-py Star me

Faultless AST for Open Biomedical Ontologies in Python.

Actions AppVeyor Codecov License Source PyPI Wheel Bioconda Python Versions PyPI - Implementation Changelog Documentation GitHub issues DOI Downloads

Overview

fastobo is a Rust library implementing a reliable parser for the OBO file format 1.4. This extension module exports idiomatic Python bindings that can be used to load, edit and serialize ontologies in the OBO format.

Installation

If your platform has no pre-built binaries available, you will need to have the Rust compiler installed. See the documentation on rust-lang.org to learn how to install Rust on your machine.

Installation is then supported through pip:

$ pip install fastobo --user

Usage

An OboDoc instance can be instantiated from a path or from a binary file handle using the fastobo.load function, or from a string using the fastobo.loads function.

import fastobo
obodoc = fastobo.load("../data/ms.obo")

Loading from a gzip file is supported:

import fastobo
import gzip
gzdoc = fastobo.load(gzip.open("../data/cl.obo.gz"))

Comments can be parsed but neither edited nor serialized, because of a limitation with pyo3 (the library used to generate the Python bindings). They are supported in the Rust version of fastobo.

Feedback

Found a bug ? Have an enhancement request ? Head over to the GitHub issue tracker of the project if you need to report or ask something. If you are filling in on a bug, please include as much information as you can about the issue, and try to recreate the same bug in a simple, easily reproducible situation.

The following people have contributed to this project:

About

This project was developed by Martin Larralde as part of a Master's Degree internship in the BBOP team of the Lawrence Berkeley National Laboratory, under the supervision of Chris Mungall. Cite this project as:

Larralde M. Developing Python and Rust libraries to improve the ontology ecosystem [version 1; not peer reviewed]. F1000Research 2019, 8(ISCB Comm J):1500 (poster) (https://doi.org/10.7490/f1000research.1117405.1)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].