Skip to main content

Patients stratification with Graph-regularized Non-negative Matrix Factorization (GNMF) in Python.

Project description

# StratiPy <img src=""> <a href=""><img src=""></a> [![License](]( <a href=""><img src=""></a>
Patients stratification with Graph-regularized Non-negative Matrix Factorization (GNMF) in Python.

## Dependencies
The minimum required dependencies to run the software are:
- Python >= 3.4
- NumPy >= 1.6
- SciPy >= 0.7.2
- matplotlib >= 0.98.4
- scikit-learn >= 0.19
- pandas >= 0.1
- tqdm>=4.15.0

If you want to launch Reproducibility project by Jupyter Notebook, you will also need:
- ipython>=1.1.0
- jupyter

## Reproducibility
To reproduce the figure 3 of [our paper about reproducibility in bioinformatics](, you have two options:
1. Follow the Jupyter Notebook [reproducibility.ipynb](reproducibility/reproducibility.ipynb)
2. Build & run the [Docker]( container with:
~$ mkdir <your_output_folder_outside_stratipy_folder>
~$ docker build -t repro .
~$ docker run -v /absolute/path/of/<your_output_folder_outside_stratipy_folder>:/reproducibility/reproducibility_output repro
**For Windows or Mac users:** total runtime memory of Docker is fixed to 2 GB by default. In order to launch this project, you have to increase this limit (approximately 7 GB):
- [Windows setting](
- [Mac setting](

## References
- Network-based stratification of tumor mutations ([Hofree et al. Nat. Meth. 2013](
- Consensus clustering: a resampling-based method for class discovery and visualization of gene expression microarray data ([Monti et al. Mach. Learn.2003](
- Experimenting with reproducibility in bioinformatics ([Kim et al. BioRxiv 2017](

## Additional links
- [Network Based Stratification (NBS)]( Matlab code & data sets.
- [NMF on Manifold (Graph), Deng Cai]( Matlab code & data sets.
- [NMF Toolbox]( Matlab code.
- [nimfa library]( Python code.

## Licensing
Stratipy is **BSD-licenced** (3 clause):

This software is OSI Certified Open Source Software.
OSI Certified is a certification mark of the Open Source Initiative.

Copyright (c) 2014, authors of Stratipy
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

* Neither the names of Stratipy authors nor the names of any
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

**This software is provided by the copyright holders and contributors
"as is" and any express or implied warranties, including, but not
limited to, the implied warranties of merchantability and fitness for
a particular purpose are disclaimed. In no event shall the copyright
owner or contributors be liable for any direct, indirect, incidental,
special, exemplary, or consequential damages (including, but not
limited to, procurement of substitute goods or services; loss of use,
data, or profits; or business interruption) however caused and on any
theory of liability, whether in contract, strict liability, or tort
(including negligence or otherwise) arising in any way out of the use
of this software, even if advised of the possibility of such

Project details

Download files

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

Files for stratipy, version 0.7
Filename, size File type Python version Upload date Hashes
Filename, size stratipy-0.7.tar.gz (22.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page