Skip to main content

Runs full Cell Maps pipeline

Project description

Cell Maps Pipeline

The Cell Maps Pipeline is part of the Cell Mapping Toolkit

https://img.shields.io/pypi/v/cellmaps_pipeline.svg https://app.travis-ci.com/idekerlab/cellmaps_pipeline.svg?branch=main Documentation Status

Dependencies

Compatibility

  • Python 3.8+

OS Requirements

This package is supported for macOS and Linux. The package has been tested on the following systems:

  • macOS: Ventura (13.5)

  • Linux: Rocky Linux 8

Installation

Install from PyPi

pip install cellmaps_pipeline

Install from Github

git clone https://github.com/idekerlab/cellmaps_pipeline
cd cellmaps_pipeline
make dist
pip install dist/cellmaps_pipeline*whl

Run make command with no arguments to see other build/deploy options including creation of Docker image

make

Output:

clean                remove all build, test, coverage and Python artifacts
clean-build          remove build artifacts
clean-pyc            remove Python file artifacts
clean-test           remove test and coverage artifacts
lint                 check style with flake8
test                 run tests quickly with the default Python
test-all             run tests on every Python version with tox
coverage             check code coverage quickly with the default Python
docs                 generate Sphinx HTML documentation, including API docs
servedocs            compile the docs watching for changes
testrelease          package and upload a TEST release
release              package and upload a release
dist                 builds source and wheel package
install              install the package to the active Python's site-packages
dockerbuild          build docker image and store in local repository
dockerpush           push image to dockerhub

Expected install time: ~30-40s

Before running tests, please install pip install -r requirements_dev.

For developers

To deploy development versions of this package

Below are steps to make changes to this code base, deploy, and then run against those changes.

  1. Make changes

    Modify code in this repo as desired

  2. Build and deploy

# From base directory of this repo cellmaps_pipeline
pip uninstall cellmaps_pipeline -y ; make clean dist; pip install dist/cellmaps_pipeline*whl

Needed files

  • samples file: CSV file with list of IF images to download (see sample samples file in examples folder)

  • unique file: CSV file of unique samples (see sample unique file in examples folder)

  • bait list file: TSV file of baits used for AP-MS experiments

  • edge list file: TSV file of edges for protein interaction network

  • provenance: file containing provenance information about input files in JSON format (see sample provenance file in examples folder)

Usage

For information invoke cellmaps_pipelinecmd.py -h

Instruction for running cellmaps_pipeline on your data can be found here.

Example usage (Demo)

cellmaps_pipelinecmd.py ./cellmaps_pipeline_outdir --samples examples/samples.csv --unique examples/unique.csv --edgelist examples/edgelist.tsv --baitlist examples/baitlist.tsv --provenance examples/provenance.json

Expected run time for demo: ~55min (macOS: Ventura 13.5, M2 Processor)

Via Docker

Example usage

Coming soon...

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

1.1.0 (2025-03-20)

  • Unique flag is no longer required to run the pipeline

  • Updated versions of packages

1.0.0 (2024-12-09)

  • First release on PyPI.

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

cellmaps_pipeline-1.1.0a1.tar.gz (4.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cellmaps_pipeline-1.1.0a1-py2.py3-none-any.whl (20.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file cellmaps_pipeline-1.1.0a1.tar.gz.

File metadata

  • Download URL: cellmaps_pipeline-1.1.0a1.tar.gz
  • Upload date:
  • Size: 4.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for cellmaps_pipeline-1.1.0a1.tar.gz
Algorithm Hash digest
SHA256 0fb3ba4f8ea744fc694c0a51e04daac2d5f0c9b9f4e6e3f11c38b1dda8741ef0
MD5 e2eb94f1410d2f7449b6aeb573c96126
BLAKE2b-256 6146abe3e6125bc1739952d89293e0d6d20ead2f5d5d6c57192e0f60516814d5

See more details on using hashes here.

File details

Details for the file cellmaps_pipeline-1.1.0a1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for cellmaps_pipeline-1.1.0a1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2dbacaebc745b1ee47391163574366a6aa332325734230e59004f97aa2bf949a
MD5 a5944bb2cab1408a0cb607ea31ba93bb
BLAKE2b-256 42f880e0f594a35c10278464e5c2e8772529e0778228ffca05ee0902f9fa9d28

See more details on using hashes here.

Supported by

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