=============================
Cell Maps Pipeline Utilities
=============================
.. image:: https://img.shields.io/pypi/v/cellmaps_utils.svg
:target: https://pypi.python.org/pypi/cellmaps_utils
.. image:: https://app.travis-ci.com/idekerlab/cellmaps_utils.svg?branch=main
:target: https://app.travis-ci.com/idekerlab/cellmaps_utils
.. image:: https://readthedocs.org/projects/cellmaps-utils/badge/?version=latest
:target: https://cellmaps-utils.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
.. image:: https://zenodo.org/badge/599754117.svg
:target: https://zenodo.org/doi/10.5281/zenodo.10607322
:alt: Zenodo DOI badge
Contains utilities needed by various tools in the cell maps toolkit.
* Free software: MIT license
* Documentation: https://cellmaps-utils.readthedocs.io.
* Source code: https://github.com/idekerlab/cellmaps_utils
Dependencies
------------
* `fairscape-cli <https://pypi.org/project/fairscape-cli>`__
* `scipy <https://pypi.org/project/scipy>`__
* `scikit-learn <https://pypi.org/project/scikit-learn>`__
* `pandas <https://pypi.org/project/pandas>`__
* `numpy <https://pypi.org/project/numpy>`__
* `dill <https://pypi.org/project/dill>`__
Compatibility
-------------
* Python 3.8+
Installation
------------
.. code-block::
git clone https://github.com/idekerlab/cellmaps_utils
cd cellmaps_utils
make dist
pip install dist/cellmaps_utils*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
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_hierarchyeval
pip uninstall cellmaps_utils -y ; make clean dist; pip install dist/cellmaps_utils*whl
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.5.0 (2024-09-05)
------------------
* Add ``HiDeFToHierarchyConverter``, a class to convert a edge list and node list
in HiDeF format to hierarchy in HCX.
* Add ``InteractomeToDDOTConverter`` and ``DDOTToInteractomeConverter``, classes to convert network in
CX2 format to DDOT format and vice versa, ``HierarchyToDDOTConverter`` and ``DDOTToHierarchyConverter``,
classes to convert hierarchy network in HCX format to DDOT and vice versa.
0.4.0 (2024-07-02)
-------------------
* Updated provenance utils, added checks in for missing data in input RO-Crate,
and allowing to continue but logging errors in the process
* Add ``HierarchyToHiDeFConverter``, a class to convert a hierarchy network
(in CX2 format) to a HiDeF format nodes and edges lists.
* Add ``NDExHierarchyUploader``, a class for uploading hierarchy and
its parent network to NDEx.
* Updated ``cellmaps_utilscmd.py`` ``apmsconverter``, ``ifconverter``,
``crisprconverter`` to support tissue as well as output
``data_info.json`` file to resulting RO-Crate so subsequent tools can
more easily get provenance information
* Updated ``cellmaps_utilscmd.py crisprconverter`` to consume ``.h5ad``
files and updated readme.txt file
0.3.0 (2024-04-15)
-------------------
* Bumped fairscape-cli dependency to ``0.2.0``
0.2.0 (2024-02-20)
------------------
* Bumped fairscape-cli dependency to ``0.1.14`` to support schemas
* Added support for ``schema`` to **data_dict** parameter in ``ProvenanceUtil.register_dataset()``
* Added ``--release`` flag to ``cellmaps_utilscmd.py rocratetable`` and
in output table renamed "Name of Computation" to "Name" as well as
added "Type", "Cell Line", "Treatment", "Gene set", and "Version" to
table output
* Set default logging level to ``ERROR`` for ``cellmaps_utilscmd.py`` command
0.1.0 (2024-01-01)
------------------
* First release on PyPI.
Raw data
{
"_id": null,
"home_page": "https://github.com/idekerlab/cellmaps_utils",
"name": "cellmaps-utils",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "cellmaps_utils",
"author": "Cell Maps team",
"author_email": "tools@cm4ai.org",
"download_url": "https://files.pythonhosted.org/packages/5b/6b/490b35ec1210ddcd22d5f5901fb57329bfd9dd14bd3ad99f729efb056132/cellmaps_utils-0.5.0.tar.gz",
"platform": null,
"description": "=============================\nCell Maps Pipeline Utilities\n=============================\n\n\n.. image:: https://img.shields.io/pypi/v/cellmaps_utils.svg\n :target: https://pypi.python.org/pypi/cellmaps_utils\n\n.. image:: https://app.travis-ci.com/idekerlab/cellmaps_utils.svg?branch=main\n :target: https://app.travis-ci.com/idekerlab/cellmaps_utils\n\n.. image:: https://readthedocs.org/projects/cellmaps-utils/badge/?version=latest\n :target: https://cellmaps-utils.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\n.. image:: https://zenodo.org/badge/599754117.svg\n :target: https://zenodo.org/doi/10.5281/zenodo.10607322\n :alt: Zenodo DOI badge\n\nContains utilities needed by various tools in the cell maps toolkit.\n\n\n* Free software: MIT license\n* Documentation: https://cellmaps-utils.readthedocs.io.\n* Source code: https://github.com/idekerlab/cellmaps_utils\n\nDependencies\n------------\n\n* `fairscape-cli <https://pypi.org/project/fairscape-cli>`__\n* `scipy <https://pypi.org/project/scipy>`__\n* `scikit-learn <https://pypi.org/project/scikit-learn>`__\n* `pandas <https://pypi.org/project/pandas>`__\n* `numpy <https://pypi.org/project/numpy>`__\n* `dill <https://pypi.org/project/dill>`__\n\nCompatibility\n-------------\n\n* Python 3.8+\n\nInstallation\n------------\n\n.. code-block::\n\n git clone https://github.com/idekerlab/cellmaps_utils\n cd cellmaps_utils\n make dist\n pip install dist/cellmaps_utils*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\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\nModify code in this repo as desired\n\n#. Build and deploy\n\n.. code-block::\n\n # From base directory of this repo cellmaps_hierarchyeval\n pip uninstall cellmaps_utils -y ; make clean dist; pip install dist/cellmaps_utils*whl\n\n\n\nCredits\n-------\n\nThis package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template\n\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\n=======\nHistory\n=======\n\n0.5.0 (2024-09-05)\n------------------\n\n* Add ``HiDeFToHierarchyConverter``, a class to convert a edge list and node list\n in HiDeF format to hierarchy in HCX.\n* Add ``InteractomeToDDOTConverter`` and ``DDOTToInteractomeConverter``, classes to convert network in\n CX2 format to DDOT format and vice versa, ``HierarchyToDDOTConverter`` and ``DDOTToHierarchyConverter``,\n classes to convert hierarchy network in HCX format to DDOT and vice versa.\n\n0.4.0 (2024-07-02)\n-------------------\n\n* Updated provenance utils, added checks in for missing data in input RO-Crate,\n and allowing to continue but logging errors in the process\n\n* Add ``HierarchyToHiDeFConverter``, a class to convert a hierarchy network\n (in CX2 format) to a HiDeF format nodes and edges lists.\n\n* Add ``NDExHierarchyUploader``, a class for uploading hierarchy and\n its parent network to NDEx.\n\n* Updated ``cellmaps_utilscmd.py`` ``apmsconverter``, ``ifconverter``,\n ``crisprconverter`` to support tissue as well as output\n ``data_info.json`` file to resulting RO-Crate so subsequent tools can\n more easily get provenance information\n\n\n* Updated ``cellmaps_utilscmd.py crisprconverter`` to consume ``.h5ad``\n files and updated readme.txt file\n\n0.3.0 (2024-04-15)\n-------------------\n\n* Bumped fairscape-cli dependency to ``0.2.0``\n\n\n0.2.0 (2024-02-20)\n------------------\n\n* Bumped fairscape-cli dependency to ``0.1.14`` to support schemas\n\n* Added support for ``schema`` to **data_dict** parameter in ``ProvenanceUtil.register_dataset()``\n\n* Added ``--release`` flag to ``cellmaps_utilscmd.py rocratetable`` and\n in output table renamed \"Name of Computation\" to \"Name\" as well as\n added \"Type\", \"Cell Line\", \"Treatment\", \"Gene set\", and \"Version\" to\n table output\n\n* Set default logging level to ``ERROR`` for ``cellmaps_utilscmd.py`` command\n\n0.1.0 (2024-01-01)\n------------------\n\n* First release on PyPI.\n",
"bugtrack_url": null,
"license": "MIT license",
"summary": "Contains utilities needed by Cell Maps tools",
"version": "0.5.0",
"project_urls": {
"Homepage": "https://github.com/idekerlab/cellmaps_utils"
},
"split_keywords": [
"cellmaps_utils"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d72eb214d79969b984ad3820bf8b10bce96542a39ca42fbc714fd482ae8291bd",
"md5": "530b49d0e25bee1ba084b7ba83bb5f45",
"sha256": "8f702342e3a9ebff883a284b399f9d37b1f8a40eeb695ebf1ad612b0a2545380"
},
"downloads": -1,
"filename": "cellmaps_utils-0.5.0-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "530b49d0e25bee1ba084b7ba83bb5f45",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 55357,
"upload_time": "2024-09-05T19:18:35",
"upload_time_iso_8601": "2024-09-05T19:18:35.596345Z",
"url": "https://files.pythonhosted.org/packages/d7/2e/b214d79969b984ad3820bf8b10bce96542a39ca42fbc714fd482ae8291bd/cellmaps_utils-0.5.0-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "5b6b490b35ec1210ddcd22d5f5901fb57329bfd9dd14bd3ad99f729efb056132",
"md5": "b2ba39539a232beb206432675e646b73",
"sha256": "7993015209275412b911b661bf1dc8e62de26da06fe3a400d53c25b7e4711194"
},
"downloads": -1,
"filename": "cellmaps_utils-0.5.0.tar.gz",
"has_sig": false,
"md5_digest": "b2ba39539a232beb206432675e646b73",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 552624,
"upload_time": "2024-09-05T19:18:36",
"upload_time_iso_8601": "2024-09-05T19:18:36.992142Z",
"url": "https://files.pythonhosted.org/packages/5b/6b/490b35ec1210ddcd22d5f5901fb57329bfd9dd14bd3ad99f729efb056132/cellmaps_utils-0.5.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-05 19:18:36",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "idekerlab",
"github_project": "cellmaps_utils",
"travis_ci": true,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "fairscape-cli",
"specs": [
[
"==",
"0.2.0"
]
]
},
{
"name": "ndex2",
"specs": [
[
">=",
"3.8.0"
],
[
"<",
"4.0.0"
]
]
},
{
"name": "scipy",
"specs": []
},
{
"name": "scikit-learn",
"specs": []
},
{
"name": "pandas",
"specs": []
},
{
"name": "numpy",
"specs": []
},
{
"name": "dill",
"specs": []
},
{
"name": "tqdm",
"specs": []
},
{
"name": "requests",
"specs": []
}
],
"tox": true,
"lcname": "cellmaps-utils"
}