A package for converting InterPro to BEL
Project description
Converts the InterPro protein families, domains, and other classes to ontological relations in BEL.
Installation
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bio2bel_interpro-0.2.0.tar.gz
(19.5 kB
view hashes)
Built Distribution
Close
Hashes for bio2bel_interpro-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1f409584690ff90ba4a487eb4ec250d841103383fc99583aeeff9ff0a0168a6 |
|
MD5 | 24c961cc5800fe41d073bffc68c45ed5 |
|
BLAKE2b-256 | 0730d755015c0f6f6c8d110ac833bbb2ca6109c1cd521a56d9ca09cc786bccda |