Skip to main content

Python package for analyzing and visualizing iModulons.

Project description

PyPI - Python Version PyPI Conda installation Docker container Documentation Status https://img.shields.io/codecov/c/github/sbrg/pymodulon?logo=codecov&style=plastic pre-commit Black code style MIT License

What is an iModulon?

To learn about iModulons, how they are computed, and what they can tell you, see our about page.

Installation

With Docker

The easiest way to get started with PyModulon is using the Docker container.

  1. Install Docker

  2. Open terminal and navigate to your work folder

  3. Run the following commands to start a Jupyter Notebook server:

    docker run -p 8888:8888 -v "${PWD}":/home/jovyan/work sbrg/pymodulon
  4. Copy the URL from terminal to connect to the Jupyter notebook

  5. Navigate to the work folder, which has your current directory mounted.

  6. To close the notebook, press Ctrl+C in terminal. All changes made to files in your current directory are saved to your local machine.

With Pip

You can install PyModulon from PyPI using pip as follows:

python -m pip install pymodulon

With Conda

Alternatively, you can install using Conda:

conda install -c conda-forge pymodulon

We recommend installing through a conda environment:

conda create -n pymodulon -c conda-forge pymodulon
conda activate pymodulon

Optional Dependencies

Some features of PyModulon require additional dependencies. Follow the links below for installation instructions.

  1. GraphViz

  2. NCBI BLAST

  3. MEME Suite

This step is not necessary if you use the Docker container.

Documentation

The documentation for PyModulon can be found here.

Development

If you would like to assist in development, please install pre-commit to ensure code style and consistency.

We recommend using an editable pip installation for development:

git clone https://github.com/SBRG/pymodulon.git
cd pymodulon
python -m pip install -e .

This method of installation will automatically update your package each time you pull from this repository.

To update your code, run the following from your local PyModulon folder:

git pull

Cite

Please cite the original E. coli iModulon paper: Sastry et al. Nature Communications. 2019.

If you use organism-specific datasets in your work, please cite these datasets:

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

pymodulon-0.2.1.tar.gz (55.7 MB view details)

Uploaded Source

Built Distribution

pymodulon-0.2.1-py3-none-any.whl (50.2 MB view details)

Uploaded Python 3

File details

Details for the file pymodulon-0.2.1.tar.gz.

File metadata

  • Download URL: pymodulon-0.2.1.tar.gz
  • Upload date:
  • Size: 55.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for pymodulon-0.2.1.tar.gz
Algorithm Hash digest
SHA256 7984649cdf25a9d57a59000ac0adc781f44b79eaafd13a4a3f61c87ab3878d06
MD5 469156e418af1b68aa7aa606e7cdb42c
BLAKE2b-256 1b21e338d9b9487ff7456cc595d8fdf931b63d915db276ecf56165bf0c432462

See more details on using hashes here.

File details

Details for the file pymodulon-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: pymodulon-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 50.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for pymodulon-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 24cf88b53e7dfe69c3bc1d4f3e28b2d30a0bf874eab1930d22208aff3ddd81b8
MD5 6c5dc3f38757d771321237753ceb117e
BLAKE2b-256 6342302a03ea9289cf6fdff0367c85ea7809d52e9f235e904fe453a2d7672176

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