Skip to main content

A package for generating curation sheets for rationally enriching a BEL graph using INDRA and PyBEL.

Project description

A package for generating curation sheets for rationally enriching a BEL graph.

If you find bel_enrichment useful in your work, please consider citing [1]:

Additionally, this package also heavily builds on INDRA [2] and PyBEL [3].

Installation Current version on PyPI Stable Supported Python Versions License

bel_enrichment can be installed from PyPI with the following command:

$ pip install bel_enrichment

The latest version can be installed from GitHub with:

$ pip install git+https://github.com/bel-enrichment/bel-enrichment.git

You’ll need to set the INDRA_DB_REST_URL and INDRA_DB_REST_API_KEY in the ~/.config/indra/config.ini file. Please contact the INDRA team for credentials.

Rational Enrichment

Generate a folder full of curation sheets based on the given BEL graph that has been pre-compiled by PyBEL. Use --info-cutoff to specify the minimum information density cutoff. 1.0 means that the node has no edges, .5 means one edge, and so on. Use --belief-cutoff to specify the minimum belief score from INDRA for adding the statement to the sheet. Higher belief means the more chance a statement is already right.

$ bel-enrichment from-graph zhang2011.bel --directory ~/Desktop/zhang-enrichment

Generate a ranking for genes based on the information content in a given BEL graph that has been pre-compiled by PyBEL.

$ bel-enrichment ranks zhang2011.bel

Document-Based Curation

If you want to make a curation sheet based on a PubMed identifier (or list of them) do this:

$ bel-enrichment from-pmids 20585587 20585588 > ~/Desktop/document_based.tsv

Topic-Based Curation

If you want to make a curation sheet based on an entity, do this:

$ bel-enrichment from-agents MAPT GSK3B > ~/Desktop/topic_based.tsv

References

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bel_enrichment-0.0.5.tar.gz (17.3 kB view details)

Uploaded Source

Built Distribution

bel_enrichment-0.0.5-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

Details for the file bel_enrichment-0.0.5.tar.gz.

File metadata

  • Download URL: bel_enrichment-0.0.5.tar.gz
  • Upload date:
  • Size: 17.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for bel_enrichment-0.0.5.tar.gz
Algorithm Hash digest
SHA256 bfd4012461c359cbd4209187cc8151980eaa5b72670711237fc11fab0a841ad6
MD5 aa983c2cb9377f750518612a712eedef
BLAKE2b-256 3bc051d2c152c422e839eca9bfcd726d7ddec04d59f9b4cb76639b84997d6b15

See more details on using hashes here.

File details

Details for the file bel_enrichment-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: bel_enrichment-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 17.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for bel_enrichment-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 d7e2bd185d5ee0b15c670b6945367d6742ba5ff96e970fab79b522da0fb18614
MD5 8bf90c20fda14ff76d303fdd5eadf8d5
BLAKE2b-256 c02e1ac4511795adb1cbe09200b1509fb94cc3aa89b5f3083706cef7bd6c1b03

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page