=============================
Cell Maps Generate Hierarchy
=============================
.. image:: https://img.shields.io/pypi/v/cellmaps_generate_hierarchy.svg
:target: https://pypi.python.org/pypi/cellmaps_generate_hierarchy
.. image:: https://app.travis-ci.com/idekerlab/cellmaps_generate_hierarchy.svg?branch=main
:target: https://app.travis-ci.com/github/idekerlab/cellmaps_generate_hierarchy
.. image:: https://readthedocs.org/projects/cellmaps-generate-hierarchy/badge/?version=latest
:target: https://cellmaps-generate-hierarchy.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
Generates hierarchy from `Cell Maps Coembedding <https://cellmaps-coembedding.readthedocs.io/>`__ using `HiDeF <https://github.com/fanzheng10/HiDeF/>`__
* Free software: MIT license
* Documentation: https://cellmaps-generate-hierarchy.readthedocs.io.
* Source code: https://github.com/idekerlab/cellmaps_generate_hierarchy
Dependencies
------------
* `cellmaps_utils <https://pypi.org/project/cellmaps-utils>`__
* `tqdm <https://pypi.org/project/tqdm>`__
* `pandas <https://pypi.org/project/pandas>`__
* `numpy <https://pypi.org/project/numpy>`__
* `ndex2 <https://pypi.org/project/ndex2>`__
* `HiDeF <https://pypi.org/project/hidef>`__
Compatibility
-------------
* Python 3.8+
Installation
------------
.. code-block::
git clone https://github.com/idekerlab/cellmaps_generate_hierarchy
cd cellmaps_generate_hierarchy
make dist
pip install dist/cellmaps_generate_hierarchy*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_generate_hierarchy
pip uninstall cellmaps_generate_hierarchy -y ; make clean dist; pip install dist/cellmaps_generate_hierarchy*whl
Needed files
------------
The output directory for co-embedding is required (see `Cell Maps Coembedding <https://github.com/idekerlab/cellmaps_coembedding/>`__).
Usage
-----
For information invoke :code:`cellmaps_generate_hierarchycmd.py -h`
**Example usage**
.. code-block::
cellmaps_generate_hierarchycmd.py ./cellmaps_generate_hierarchy --coembedding_dirs ./cellmaps_coembedding_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.2.1 (2024-11-08)
------------------
* Fixed types of arguments.
0.2.0 (2024-10-16)
------------------
* Added the ``--bootstrap_edges`` flag, which allows specifying the percentage of edges to be randomly removed
from each PPI network (across networks at different PPI cutoffs).
* Added a style for proteins specified as bait.
* Refactored code and expose more methods for hierarchy generation from edgelists.
0.1.0 (2024-09-06)
------------------
* First release on PyPI.
Raw data
{
"_id": null,
"home_page": "https://github.com/idekerlab/cellmaps_generate_hierarchy",
"name": "cellmaps-generate-hierarchy",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "cellmaps_generate_hierarchy",
"author": "Cell Maps team",
"author_email": "tools@cm4ai.org",
"download_url": "https://files.pythonhosted.org/packages/12/46/92987120d9cdcd0881eecb7cba591193e2d70ed225ceba2e4237585c9e68/cellmaps_generate_hierarchy-0.2.1.tar.gz",
"platform": null,
"description": "=============================\nCell Maps Generate Hierarchy\n=============================\n\n\n.. image:: https://img.shields.io/pypi/v/cellmaps_generate_hierarchy.svg\n :target: https://pypi.python.org/pypi/cellmaps_generate_hierarchy\n\n.. image:: https://app.travis-ci.com/idekerlab/cellmaps_generate_hierarchy.svg?branch=main\n :target: https://app.travis-ci.com/github/idekerlab/cellmaps_generate_hierarchy\n\n.. image:: https://readthedocs.org/projects/cellmaps-generate-hierarchy/badge/?version=latest\n :target: https://cellmaps-generate-hierarchy.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\nGenerates hierarchy from `Cell Maps Coembedding <https://cellmaps-coembedding.readthedocs.io/>`__ using `HiDeF <https://github.com/fanzheng10/HiDeF/>`__\n\n* Free software: MIT license\n* Documentation: https://cellmaps-generate-hierarchy.readthedocs.io.\n* Source code: https://github.com/idekerlab/cellmaps_generate_hierarchy\n\nDependencies\n------------\n\n* `cellmaps_utils <https://pypi.org/project/cellmaps-utils>`__\n* `tqdm <https://pypi.org/project/tqdm>`__\n* `pandas <https://pypi.org/project/pandas>`__\n* `numpy <https://pypi.org/project/numpy>`__\n* `ndex2 <https://pypi.org/project/ndex2>`__\n* `HiDeF <https://pypi.org/project/hidef>`__\n\nCompatibility\n-------------\n\n* Python 3.8+\n\nInstallation\n------------\n\n.. code-block::\n\n git clone https://github.com/idekerlab/cellmaps_generate_hierarchy\n cd cellmaps_generate_hierarchy\n make dist\n pip install dist/cellmaps_generate_hierarchy*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.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_generate_hierarchy\n pip uninstall cellmaps_generate_hierarchy -y ; make clean dist; pip install dist/cellmaps_generate_hierarchy*whl\n\n\n\nNeeded files\n------------\n\nThe output directory for co-embedding is required (see `Cell Maps Coembedding <https://github.com/idekerlab/cellmaps_coembedding/>`__).\n\nUsage\n-----\n\nFor information invoke :code:`cellmaps_generate_hierarchycmd.py -h`\n\n**Example usage**\n\n.. code-block::\n\n cellmaps_generate_hierarchycmd.py ./cellmaps_generate_hierarchy --coembedding_dirs ./cellmaps_coembedding_outdir\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.2.1 (2024-11-08)\n------------------\n\n* Fixed types of arguments.\n\n\n0.2.0 (2024-10-16)\n------------------\n\n* Added the ``--bootstrap_edges`` flag, which allows specifying the percentage of edges to be randomly removed\n from each PPI network (across networks at different PPI cutoffs).\n\n* Added a style for proteins specified as bait.\n\n* Refactored code and expose more methods for hierarchy generation from edgelists.\n\n\n0.1.0 (2024-09-06)\n------------------\n\n* First release on PyPI.\n",
"bugtrack_url": null,
"license": "MIT license",
"summary": "A tool to generate hierarchies from protein to protein interaction networks",
"version": "0.2.1",
"project_urls": {
"Homepage": "https://github.com/idekerlab/cellmaps_generate_hierarchy"
},
"split_keywords": [
"cellmaps_generate_hierarchy"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "a84017f69c381b2e6c4910b1d645de1c41c314cd50bf0c9dd113dcc2c89cf583",
"md5": "368c5734313437d188b64a498e061166",
"sha256": "03cde56cbd3e95356ec618455f8f71787fc8c81945110b040f9304baaf8a7508"
},
"downloads": -1,
"filename": "cellmaps_generate_hierarchy-0.2.1-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "368c5734313437d188b64a498e061166",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 57637,
"upload_time": "2024-11-08T23:49:34",
"upload_time_iso_8601": "2024-11-08T23:49:34.838090Z",
"url": "https://files.pythonhosted.org/packages/a8/40/17f69c381b2e6c4910b1d645de1c41c314cd50bf0c9dd113dcc2c89cf583/cellmaps_generate_hierarchy-0.2.1-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "124692987120d9cdcd0881eecb7cba591193e2d70ed225ceba2e4237585c9e68",
"md5": "42b7f38accc96172b1233bdf6bc6e18a",
"sha256": "b375d8627958bad2806d6ecab9483b737eb51c165056568feea429cde3e4a236"
},
"downloads": -1,
"filename": "cellmaps_generate_hierarchy-0.2.1.tar.gz",
"has_sig": false,
"md5_digest": "42b7f38accc96172b1233bdf6bc6e18a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 128503,
"upload_time": "2024-11-08T23:49:36",
"upload_time_iso_8601": "2024-11-08T23:49:36.151803Z",
"url": "https://files.pythonhosted.org/packages/12/46/92987120d9cdcd0881eecb7cba591193e2d70ed225ceba2e4237585c9e68/cellmaps_generate_hierarchy-0.2.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-08 23:49:36",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "idekerlab",
"github_project": "cellmaps_generate_hierarchy",
"travis_ci": true,
"coveralls": false,
"github_actions": false,
"requirements": [],
"tox": true,
"lcname": "cellmaps-generate-hierarchy"
}