Skip to content
/ chebi Public

A Bio2BEL package for converting Chemical Entities of Biological Interest (ChEBI) to BEL

License

Notifications You must be signed in to change notification settings

bio2bel/chebi

Repository files navigation

Bio2BEL ChEBI Build Status Coverage Status Documentation Status Zenodo DOI

Convert the ChEBI ontology and related chemical information to BEL.

Installation Current version on PyPI Stable Supported Python Versions MIT License

bio2bel_chebi can be installed easily from PyPI with the following code in your favorite terminal:

$ python3 -m pip install bio2bel_chebi

or from the latest code on GitHub with:

$ python3 -m pip install git+https://github.com/bio2bel/chebi.git@master

Setup

ChEBI can be downloaded and populated from either the Python REPL or the automatically installed command line utility.

Python REPL

>>> import bio2bel_chebi
>>> chebi_manager = bio2bel_chebi.Manager()
>>> chebi_manager.populate()

Command Line Utility

bio2bel_chebi populate