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.1.tar.gz
(19.4 kB
view details)
Built Distribution
File details
Details for the file bio2bel_interpro-0.2.1.tar.gz
.
File metadata
- Download URL: bio2bel_interpro-0.2.1.tar.gz
- Upload date:
- Size: 19.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc5ed527465dbcb99cbd3d2f46b8c5d8c1c7cf2a93c5501bc12248fa3357ae5b |
|
MD5 | fb8d5bb8eff9bb942dea9f1cf99ce943 |
|
BLAKE2b-256 | a40a2d4da914f1411943706fea07d76131750e0c6e79cdd5bccdaca8315f4710 |
Provenance
File details
Details for the file bio2bel_interpro-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: bio2bel_interpro-0.2.1-py3-none-any.whl
- Upload date:
- Size: 15.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5bcf1d44132b5509a42eed20ec5fe01833ff28c2166a509809223304db50f90e |
|
MD5 | ba06644f3efd3c47a474233ecce49b1c |
|
BLAKE2b-256 | f6222c97079426b314bf950916ad2cf48b66630736e34d90eb76c75b97929de4 |