=====================
Cell Maps CoEmbedder
=====================
.. image:: https://img.shields.io/pypi/v/cellmaps_coembedding.svg
:target: https://pypi.python.org/pypi/cellmaps_coembedding
.. image:: https://app.travis-ci.com/idekerlab/cellmaps_coembedding.svg?branch=main
:target: https://app.travis-ci.com/idekerlab/cellmaps_coembedding
.. image:: https://readthedocs.org/projects/cellmaps-coembedding/badge/?version=latest
:target: https://cellmaps-coembedding.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
.. image:: https://zenodo.org/badge/620523316.svg
:target: https://zenodo.org/doi/10.5281/zenodo.10651873
:alt: Zenodo DOI badge
Creates Coembedding from `Cell Maps ImmunoFluorscent Image Embedder <https://cellmaps-image-embedding.readthedocs.io>`__
and `Cell Maps PPI Embedder <https://cellmaps-ppi-embedding.readthedocs.io>`__ using an implementation of `MUSE <https://github.com/AltschulerWu-Lab/MUSE>`__
* Free software: MIT license
* Documentation: https://cellmaps-coembedding.readthedocs.io.
Dependencies
------------
* `cellmaps_utils <https://pypi.org/project/cellmaps-utils>`__
* `phenograph <https://pypi.org/project/phenograph>`__
* `numpy <https://pypi.org/project/numpy>`__
* `torch <https://pypi.org/project/torch>`__
* `pandas <https://pypi.org/project/pandas>`__
* `matplotlib <https://pypi.org/project/matplotlib>`__
* `dill <https://pypi.org/project/dill>`__
* `tqdm <https://pypi.org/project/tqdm>`__
Compatibility
-------------
* Python 3.8+
Installation
------------
.. code-block::
git clone https://github.com/idekerlab/cellmaps_coembedding
cd cellmaps_coembedding
make dist
pip install dist/cellmaps_coembedding*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
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.
#. Make changes
Modify code in this repo as desired
#. Build and deploy
.. code-block::
# From base directory of this repo cellmaps_coembedding
pip uninstall cellmaps_coembedding -y ; make clean dist; pip install dist/cellmaps_coembedding*whl
Needed files
------------
The output directories for the image embeddings (see `Cell Maps Image Embedding <https://github.com/idekerlab/cellmaps_image_embedding/>`__) and protein-protein interaction network embeddings (see `Cell Maps PPI Embedding <https://github.com/idekerlab/cellmaps_ppi_embedding/>`__) are required.
Usage
-----
For information invoke :code:`cellmaps_coembeddingcmd.py -h`
**Example usage**
.. code-block::
cellmaps_coembeddingcmd.py ./cellmaps_coembedding_outdir --embeddings ./cellmaps_image_embedding_outdir ./cellmaps_ppi_embedding_outdir
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
=======
0.3.1 (2024-09-13)
------------------
* Bug fix: raise more informative error when no embeddings overlap.
0.3.0 (2024-09-06)
------------------
* Added ``--provenance`` flag to pass a path to json file with provenance information. This removes the
necessity of input directory to be an RO-Crate.
0.2.0 (2024-07-17)
------------------
* Added a new coembedding algorithm accessible via flag ``--algorithm auto``. This algorithm utilizes neural networks
to generate latent embeddings, optimizing both reconstruction and triplet losses to improve embedding accuracy
by learning intra- and inter-modality relationships.
0.1.0 (2024-02-12)
------------------
* First release on PyPI.
Raw data
{
"_id": null,
"home_page": "https://github.com/idekerlab/cellmaps_coembedding",
"name": "cellmaps-coembedding",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "cellmaps_coembedding",
"author": "Cell Maps team",
"author_email": "tools@cm4ai.org",
"download_url": "https://files.pythonhosted.org/packages/c7/3b/0848ae2688e7069c963a1567710cc3577124b380abc8e6974081f98a3351/cellmaps_coembedding-0.3.1.tar.gz",
"platform": null,
"description": "=====================\nCell Maps CoEmbedder\n=====================\n\n\n.. image:: https://img.shields.io/pypi/v/cellmaps_coembedding.svg\n :target: https://pypi.python.org/pypi/cellmaps_coembedding\n\n.. image:: https://app.travis-ci.com/idekerlab/cellmaps_coembedding.svg?branch=main\n :target: https://app.travis-ci.com/idekerlab/cellmaps_coembedding\n\n.. image:: https://readthedocs.org/projects/cellmaps-coembedding/badge/?version=latest\n :target: https://cellmaps-coembedding.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\n.. image:: https://zenodo.org/badge/620523316.svg\n :target: https://zenodo.org/doi/10.5281/zenodo.10651873\n :alt: Zenodo DOI badge\n\nCreates Coembedding from `Cell Maps ImmunoFluorscent Image Embedder <https://cellmaps-image-embedding.readthedocs.io>`__\nand `Cell Maps PPI Embedder <https://cellmaps-ppi-embedding.readthedocs.io>`__ using an implementation of `MUSE <https://github.com/AltschulerWu-Lab/MUSE>`__\n\n* Free software: MIT license\n* Documentation: https://cellmaps-coembedding.readthedocs.io.\n\n\nDependencies\n------------\n\n* `cellmaps_utils <https://pypi.org/project/cellmaps-utils>`__\n* `phenograph <https://pypi.org/project/phenograph>`__\n* `numpy <https://pypi.org/project/numpy>`__\n* `torch <https://pypi.org/project/torch>`__\n* `pandas <https://pypi.org/project/pandas>`__\n* `matplotlib <https://pypi.org/project/matplotlib>`__\n* `dill <https://pypi.org/project/dill>`__\n* `tqdm <https://pypi.org/project/tqdm>`__\n\n\nCompatibility\n-------------\n\n* Python 3.8+\n\nInstallation\n------------\n\n.. code-block::\n\n git clone https://github.com/idekerlab/cellmaps_coembedding\n cd cellmaps_coembedding\n make dist\n pip install dist/cellmaps_coembedding*whl\n\n\nRun **make** command with no arguments to see other build/deploy options including creation of Docker image\n\n.. code-block::\n\n make\n\nOutput:\n\n.. code-block::\n\n clean remove all build, test, coverage and Python artifacts\n clean-build remove build artifacts\n clean-pyc remove Python file artifacts\n clean-test remove test and coverage artifacts\n lint check style with flake8\n test run tests quickly with the default Python\n test-all run tests on every Python version with tox\n coverage check code coverage quickly with the default Python\n docs generate Sphinx HTML documentation, including API docs\n servedocs compile the docs watching for changes\n testrelease package and upload a TEST release\n release package and upload a release\n dist builds source and wheel package\n install install the package to the active Python's site-packages\n dockerbuild build docker image and store in local repository\n dockerpush push image to dockerhub\n\nBefore running tests, please install ``pip install -r requirements_dev``.\n\nFor developers\n-------------------------------------------\n\nTo deploy development versions of this package\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nBelow are steps to make changes to this code base, deploy, and then run\nagainst those changes.\n\n#. Make changes\n\n Modify code in this repo as desired\n\n#. Build and deploy\n\n.. code-block::\n\n # From base directory of this repo cellmaps_coembedding\n pip uninstall cellmaps_coembedding -y ; make clean dist; pip install dist/cellmaps_coembedding*whl\n\n\n\nNeeded files\n------------\n\nThe output directories for the image embeddings (see `Cell Maps Image Embedding <https://github.com/idekerlab/cellmaps_image_embedding/>`__) and protein-protein interaction network embeddings (see `Cell Maps PPI Embedding <https://github.com/idekerlab/cellmaps_ppi_embedding/>`__) are required.\n\n\nUsage\n-----\n\nFor information invoke :code:`cellmaps_coembeddingcmd.py -h`\n\n**Example usage**\n\n.. code-block::\n\n cellmaps_coembeddingcmd.py ./cellmaps_coembedding_outdir --embeddings ./cellmaps_image_embedding_outdir ./cellmaps_ppi_embedding_outdir\n\n\n\nVia Docker\n~~~~~~~~~~~~~~~~~~~~~~\n\n**Example usage**\n\n\n.. code-block::\n\n Coming soon...\n\nCredits\n-------\n\nThis package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.\n\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage\n.. _NDEx: http://www.ndexbio.org\n\n\n=======\nHistory\n=======\n\n0.3.1 (2024-09-13)\n------------------\n\n* Bug fix: raise more informative error when no embeddings overlap.\n\n0.3.0 (2024-09-06)\n------------------\n\n* Added ``--provenance`` flag to pass a path to json file with provenance information. This removes the\n necessity of input directory to be an RO-Crate.\n\n0.2.0 (2024-07-17)\n------------------\n\n* Added a new coembedding algorithm accessible via flag ``--algorithm auto``. This algorithm utilizes neural networks\n to generate latent embeddings, optimizing both reconstruction and triplet losses to improve embedding accuracy\n by learning intra- and inter-modality relationships.\n\n0.1.0 (2024-02-12)\n------------------\n\n* First release on PyPI.\n",
"bugtrack_url": null,
"license": "MIT license",
"summary": "A tool to generate coembeddings from IF image embeddings and PPI network embeddings",
"version": "0.3.1",
"project_urls": {
"Homepage": "https://github.com/idekerlab/cellmaps_coembedding"
},
"split_keywords": [
"cellmaps_coembedding"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "00b86e881561c89e9d33b8b766bc84f02315e2deef4fe7d9ff99e154e02e91bd",
"md5": "a19992a25dd33d41bccec64fb48fd4c1",
"sha256": "4eda5b16c4a92708822b6d5ba6ee94ee24d138112cca3984c58fbf9ed0e74156"
},
"downloads": -1,
"filename": "cellmaps_coembedding-0.3.1-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "a19992a25dd33d41bccec64fb48fd4c1",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 33419,
"upload_time": "2024-09-13T21:50:54",
"upload_time_iso_8601": "2024-09-13T21:50:54.981439Z",
"url": "https://files.pythonhosted.org/packages/00/b8/6e881561c89e9d33b8b766bc84f02315e2deef4fe7d9ff99e154e02e91bd/cellmaps_coembedding-0.3.1-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "c73b0848ae2688e7069c963a1567710cc3577124b380abc8e6974081f98a3351",
"md5": "906396182129b2cdf5fc7fc2b8f33307",
"sha256": "0c95cc50d1e90b511b22b24cb6e24ade36b14020a34e7235ed5257f76a2dd154"
},
"downloads": -1,
"filename": "cellmaps_coembedding-0.3.1.tar.gz",
"has_sig": false,
"md5_digest": "906396182129b2cdf5fc7fc2b8f33307",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 47193,
"upload_time": "2024-09-13T21:50:57",
"upload_time_iso_8601": "2024-09-13T21:50:57.276429Z",
"url": "https://files.pythonhosted.org/packages/c7/3b/0848ae2688e7069c963a1567710cc3577124b380abc8e6974081f98a3351/cellmaps_coembedding-0.3.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-13 21:50:57",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "idekerlab",
"github_project": "cellmaps_coembedding",
"travis_ci": true,
"coveralls": false,
"github_actions": false,
"requirements": [],
"tox": true,
"lcname": "cellmaps-coembedding"
}