Metadata-Version: 2.4
Name: cellmaps_pipeline
Version: 1.2.0
Summary: Runs full Cell Maps pipeline
Home-page: https://github.com/idekerlab/cellmaps_pipeline
Author: Cell Maps team
Author-email: tools@cm4ai.org
License: MIT license
Keywords: cellmaps_pipeline
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Description-Content-Type: text/x-rst
License-File: LICENSE
License-File: AUTHORS.rst
Requires-Dist: scipy<1.13.0
Requires-Dist: cellmaps_utils==0.8.0
Requires-Dist: cellmaps_imagedownloader==0.3.0
Requires-Dist: cellmaps_ppidownloader==0.2.2
Requires-Dist: cellmaps_image_embedding==0.3.2
Requires-Dist: cellmaps_ppi_embedding==0.4.2
Requires-Dist: cellmaps_coembedding==1.2.2
Requires-Dist: cellmaps_generate_hierarchy==0.2.4
Requires-Dist: cellmaps_hierarchyeval==0.2.2
Requires-Dist: networkx<2.9,>=2.8
Requires-Dist: tqdm<5.0.0,>=4.66.0
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: license-file
Dynamic: requires-dist
Dynamic: summary

===================
Cell Maps Pipeline
===================
The Cell Maps Pipeline is part of the Cell Mapping Toolkit


.. image:: https://img.shields.io/pypi/v/cellmaps_pipeline.svg
        :target: https://pypi.python.org/pypi/cellmaps_pipeline

.. image:: https://app.travis-ci.com/idekerlab/cellmaps_pipeline.svg?branch=main
        :target: https://app.travis-ci.com/idekerlab/cellmaps_pipeline

.. image:: https://readthedocs.org/projects/cellmaps-pipeline/badge/?version=latest
        :target: https://cellmaps-pipeline.readthedocs.io/en/latest/?badge=latest
        :alt: Documentation Status

* Free software: MIT license
* Documentation: https://cellmaps-pipeline.readthedocs.io.
* Source code: https://github.com/idekerlab/cellmaps_pipeline

Dependencies
------------

* `cellmaps_utils <https://pypi.org/project/cellmaps-utils>`__ (v. 0.8.0)
* `cellmaps_imagedownloader <https://pypi.org/project/cellmaps-imagedownloader>`__ (v. 0.3.0)
* `cellmaps_ppidownloader <https://pypi.org/project/cellmaps-ppidownloader>`__ (v. 0.2.2)
* `cellmaps_image_embedding <https://pypi.org/project/cellmaps-image-embedding>`__ (v. 0.3.2)
* `cellmaps_ppi_embedding <https://pypi.org/project/cellmaps-ppi-embedding/>`__ (v. 0.4.2)
* `cellmaps_coembedding <https://pypi.org/project/cellmaps-coembedding>`__ (v. 1.2.2)
* `cellmaps_generate_hierarchy <https://pypi.org/project/cellmaps-generate-hierarchy>`__ (v. 0.2.4)
* `cellmaps_hierarchyeval <https://pypi.org/project/cellmaps-hierarchyeval>`__ (v. 0.2.2)
* `networkx <https://pypi.org/project/networkx>`__ (v. >=2.8,<2.9)
* `scipy <https://pypi.org/project/scipy>`__ (v. <1.13.0)
* `tqdm <https://pypi.org/project/tqdm>`__ (v. >=4.66.0,<5.0.0)

Compatibility
-------------

* Python 3.8 - 3.11


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**

.. code-block::

    pip install cellmaps_pipeline

**Install from Github**

.. code-block::

   git clone https://github.com/idekerlab/cellmaps_pipeline
   cd cellmaps_pipeline
   pip install -r requirements_dev.txt
   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

.. code-block::

   make

Output:

.. code-block::

   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.txt`` and ``pip install -r requirements.txt``.

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.

#. Make changes

   Modify code in this repo as desired

#. Build and deploy

.. code-block::

    # 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 :code:`cellmaps_pipelinecmd.py -h`

Instruction for running :code:`cellmaps_pipeline` on your data can be found `here <https://cellmaps-pipeline.readthedocs.io/en/latest/usage.html>`__.

**Example usage (Demo)**

.. code-block::

   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**


.. code-block::

   Coming soon...

Credits
-------

This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage
.. _NDEx: http://www.ndexbio.org


=======
History
=======

1.2.0 (2025-05-19)
-------------------
* Updated dependency cellmaps_utils to `0.8.0` from `0.7.0`

* Updated dependency cellmaps_imagedownloader to `0.3.0` from `0.2.1`

* Updated dependency cellmaps_ppidownloader to `0.2.2` from `0.2.1`

* Updated dependency cellmaps_image_embedding to `0.3.2` from `0.3.1`

* Updated dependency cellmaps_ppi_embedding to `0.4.2` from `0.4.1`

* Updated dependency cellmaps_coembedding to `1.2.2` from `1.2.0`

* Updated dependency cellmaps_generate_hierarchy to `0.2.4` from `0.2.3`

* Updated dependency cellmaps_hierarchyeval to `0.2.2` from `0.2.1`

* Updated to PEP 517 compliant build system

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.
