==========================
Cell Maps PPI Embedder
==========================
.. image:: https://img.shields.io/pypi/v/cellmaps_ppi_embedding.svg
:target: https://pypi.python.org/pypi/cellmaps_ppi_embedding
.. image:: https://app.travis-ci.com/idekerlab/cellmaps_ppi_embedding.svg?branch=main
:target: https://app.travis-ci.com/github/idekerlab/cellmaps_ppi_embedding
.. image:: https://readthedocs.org/projects/cellmaps-ppi-embedding/badge/?version=latest
:target: https://cellmaps-ppi-embedding.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
.. image:: https://zenodo.org/badge/618128210.svg
:target: https://zenodo.org/doi/10.5281/zenodo.10607492
:alt: Zenodo DOI badge
Generate embeddings from Protein-Protein interaction networks using `node2vec <https://arxiv.org/abs/1607.00653>`__
* Free software: MIT license
* Documentation: https://cellmaps-ppi-embedding.readthedocs.io.
Dependencies
------------
* `cellmaps_utils <https://pypi.org/project/cellmaps-utils>`__
* `node2vec <https://pypi.org/project/node2vec>`__
* `networkx <https://pypi.org/project/networkx>`__
Compatibility
-------------
* Python 3.8+
Installation
------------
.. code-block::
git clone https://github.com/idekerlab/cellmaps_ppi_embedding
cd cellmaps_ppi_embedding
make dist
pip install dist/cellmaps_ppi_embedding*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.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_ppi_embedding
pip uninstall cellmaps_ppi_embedding -y ; make clean dist; pip install dist/cellmaps_ppi_embedding*whl
Needed files
------------
The output directory for the PPI download is required (see `Cell Maps PPI Downloader <https://github.com/idekerlab/cellmaps_ppidownloader/>`__).
Usage
-----
For information invoke :code:`cellmaps_ppi_embeddingcmd.py -h`
**Example usage**
.. code-block::
cellmaps_ppi_embeddingcmd.py ./cellmaps_ppi_embedding_outdir --inputdir ./cellmaps_ppidownloader_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-06)
-------------------
* Bug fix in ``--inputdir`` argument.
0.3.0 (2024-08-29)
---------------------
* 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-03-12)
---------------------
* Added flags for setting name, organization name, and project name needed for FAIRSCAPE.
0.1.0 (2024-02-01)
------------------
* First release on PyPI.
Raw data
{
"_id": null,
"home_page": "https://github.com/idekerlab/cellmaps_ppi_embedding",
"name": "cellmaps-ppi-embedding",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "cellmaps_ppi_embedding",
"author": "Cell Maps team",
"author_email": "tools@cm4ai.org",
"download_url": "https://files.pythonhosted.org/packages/9b/be/a432ab4ce7829ddf6f47949784ff7b8f951cee1d0fc1109c60d7f728f6e8/cellmaps_ppi_embedding-0.3.1.tar.gz",
"platform": null,
"description": "==========================\nCell Maps PPI Embedder\n==========================\n\n\n.. image:: https://img.shields.io/pypi/v/cellmaps_ppi_embedding.svg\n :target: https://pypi.python.org/pypi/cellmaps_ppi_embedding\n\n.. image:: https://app.travis-ci.com/idekerlab/cellmaps_ppi_embedding.svg?branch=main\n :target: https://app.travis-ci.com/github/idekerlab/cellmaps_ppi_embedding\n\n.. image:: https://readthedocs.org/projects/cellmaps-ppi-embedding/badge/?version=latest\n :target: https://cellmaps-ppi-embedding.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\n.. image:: https://zenodo.org/badge/618128210.svg\n :target: https://zenodo.org/doi/10.5281/zenodo.10607492\n :alt: Zenodo DOI badge\n\n\n\n\nGenerate embeddings from Protein-Protein interaction networks using `node2vec <https://arxiv.org/abs/1607.00653>`__\n\n* Free software: MIT license\n* Documentation: https://cellmaps-ppi-embedding.readthedocs.io.\n\n\n\nDependencies\n------------\n\n* `cellmaps_utils <https://pypi.org/project/cellmaps-utils>`__\n* `node2vec <https://pypi.org/project/node2vec>`__\n* `networkx <https://pypi.org/project/networkx>`__\n\nCompatibility\n-------------\n\n* Python 3.8+\n\nInstallation\n------------\n\n.. code-block::\n\n git clone https://github.com/idekerlab/cellmaps_ppi_embedding\n cd cellmaps_ppi_embedding\n make dist\n pip install dist/cellmaps_ppi_embedding*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\n\nBefore running tests, please install: ``pip install -r requirements_dev.txt``.\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_ppi_embedding\n pip uninstall cellmaps_ppi_embedding -y ; make clean dist; pip install dist/cellmaps_ppi_embedding*whl\n\n\n\nNeeded files\n------------\n\nThe output directory for the PPI download is required (see `Cell Maps PPI Downloader <https://github.com/idekerlab/cellmaps_ppidownloader/>`__).\n\n\nUsage\n-----\n\nFor information invoke :code:`cellmaps_ppi_embeddingcmd.py -h`\n\n**Example usage**\n\n.. code-block::\n\n cellmaps_ppi_embeddingcmd.py ./cellmaps_ppi_embedding_outdir --inputdir ./cellmaps_ppidownloader_outdir\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-06)\n-------------------\n\n* Bug fix in ``--inputdir`` argument.\n\n0.3.0 (2024-08-29)\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-03-12)\n---------------------\n\n* Added flags for setting name, organization name, and project name needed for FAIRSCAPE.\n\n0.1.0 (2024-02-01)\n------------------\n\n* First release on PyPI.\n",
"bugtrack_url": null,
"license": "MIT license",
"summary": "A tool to generate embeddings from networks",
"version": "0.3.1",
"project_urls": {
"Homepage": "https://github.com/idekerlab/cellmaps_ppi_embedding"
},
"split_keywords": [
"cellmaps_ppi_embedding"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "04d5af3a5857844777e88d87b6a061ae600fe71e357776aa4d3563957921abc7",
"md5": "882373aea99fe76029b5546417aeacf7",
"sha256": "b9ca6b553e52f200ba991ec63851cd46ce00e51809c83ed125d3a47ee6ac8bf4"
},
"downloads": -1,
"filename": "cellmaps_ppi_embedding-0.3.1-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "882373aea99fe76029b5546417aeacf7",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 13116,
"upload_time": "2024-09-06T16:32:40",
"upload_time_iso_8601": "2024-09-06T16:32:40.492617Z",
"url": "https://files.pythonhosted.org/packages/04/d5/af3a5857844777e88d87b6a061ae600fe71e357776aa4d3563957921abc7/cellmaps_ppi_embedding-0.3.1-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "9bbea432ab4ce7829ddf6f47949784ff7b8f951cee1d0fc1109c60d7f728f6e8",
"md5": "2079fd03508bd5f0024d02f638ad6646",
"sha256": "2203321f897c64a90e1b190a6a14c86e3cbe34f0ed2c79bbf8f8df916a002d0a"
},
"downloads": -1,
"filename": "cellmaps_ppi_embedding-0.3.1.tar.gz",
"has_sig": false,
"md5_digest": "2079fd03508bd5f0024d02f638ad6646",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 25517,
"upload_time": "2024-09-06T16:32:41",
"upload_time_iso_8601": "2024-09-06T16:32:41.896892Z",
"url": "https://files.pythonhosted.org/packages/9b/be/a432ab4ce7829ddf6f47949784ff7b8f951cee1d0fc1109c60d7f728f6e8/cellmaps_ppi_embedding-0.3.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-06 16:32:41",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "idekerlab",
"github_project": "cellmaps_ppi_embedding",
"travis_ci": true,
"coveralls": false,
"github_actions": false,
"requirements": [],
"tox": true,
"lcname": "cellmaps-ppi-embedding"
}