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.1.1.tar.gz
(16.8 kB
view details)
Built Distribution
File details
Details for the file bio2bel_interpro-0.1.1.tar.gz
.
File metadata
- Download URL: bio2bel_interpro-0.1.1.tar.gz
- Upload date:
- Size: 16.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7d4485f81da3f2d1fa3f676d45b690802b7524cb63d5060db6112e51c15564a |
|
MD5 | 49da09cb9231443056993d08700a8d35 |
|
BLAKE2b-256 | fb68629234e789b16a6bd2c34c467395ecee30ae76210dc27cc0fd053bd2fa52 |
File details
Details for the file bio2bel_interpro-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: bio2bel_interpro-0.1.1-py3-none-any.whl
- Upload date:
- Size: 12.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 286fe69edb8dd7c9f000d5fec9ba8048238ba4d3e93c54d3df426b060ed31c1a |
|
MD5 | 729c2d5979991634c6f221594605cc0f |
|
BLAKE2b-256 | f9c97148f1691829f3641943b13a06520ea9f081f6f24357a9256edaf8495e08 |