This package allows the enrichment of BEL networks with MSigDB information. Furthermore, it is integrated in the ComPath environment for pathway database comparison.
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+https://github.com/bio2bel/msig.git@master
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.
>>> import bio2bel_msig
>>> msig_manager = bio2bel_msig.Manager()
>>> msig_manager.populate()
bio2bel_msig populate
- 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.