Skip to main content

A package for converting InterPro to BEL

Project description

Converts the InterPro protein families, domains, and other classes to ontological relations in BEL.

Installation Current version on PyPI Stable Supported Python Versions MIT License

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

$ python3 -m pip install bio2bel_interpro

or from the latest code on GitHub with:

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

Setup

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

Python REPL

>>> import bio2bel_interpro
>>> interpro_manager = bio2bel_interpro.Manager()
>>> interpro_manager.populate()

Command Line Utility

bio2bel_interpro populate

Programmatic Interface

To enrich the proteins in a BEL Graph with their InterPro entries (families, domains, sites, etc.) , use:

>>> from bio2bel_interpro import enrich_proteins
>>> graph = ... # get a BEL graph
>>> enrich_proteins(graph)

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 bio2bel-interpro, version 0.2.1
Filename, size File type Python version Upload date Hashes
Filename, size bio2bel_interpro-0.2.1-py3-none-any.whl (15.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size bio2bel_interpro-0.2.1.tar.gz (19.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page