Skip to main content

A wrapper around MSIGDB

Project description

This package allows the enrichment of BEL networks with MSigDB information. Furthermore, it is integrated in the ComPath environment for pathway database comparison.

Installation Current version on PyPI Stable Supported Python Versions MIT License

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

$ python3 -m pip install bio2bel_msig

or from the latest code on GitHub with:

$ python3 -m pip install git+


The package expects you have downloaded the gene sets from MSigDB following the instructions and terms stated in their website.

The environment variable BIO2BEL_MSIG_PATH should be set to the directory where the gene set files in the GMT format are stored. Optionally, this can be directly overridden with the keyword argument to populate() in the REPL or as a flag in the command line utility.

Python REPL

>>> import bio2bel_msig
>>> msig_manager = bio2bel_msig.Manager()
>>> msig_manager.populate()

Command Line Utility

bio2bel_msig populate

Other Command Line Utilities

  • Run an admin site for simple querying and exploration python3 -m bio2bel_msig web (http://localhost:5000/admin/)
  • Export gene sets for programmatic use python3 -m bio2bel_msig export


  • Subramanian, A., et al. (2005). Gene set enrichment analysis: a knowledge-based approach for interpreting genome-wide expression profiles. Proceedings of the National Academy of Sciences, 102(43), 15545-15550.
  • Liberzon, A., et al (2011). Molecular signatures database (MSigDB) 3.0. Bioinformatics, 27(12), 1739-1740.

Project details

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
bio2bel_msig-0.1.2.tar.gz (11.7 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page