Contains utilities needed by Cell Maps tools
Project description
Cell Maps Pipeline Utilities
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
Compatibility
Python 3.8+
Installation
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
make
Output:
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
# 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
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file cellmaps_utils-0.5.0a1.tar.gz
.
File metadata
- Download URL: cellmaps_utils-0.5.0a1.tar.gz
- Upload date:
- Size: 552.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bf548e6105304e51d23dc293e6c33c02df6c18080bd70066657e41605d504a1 |
|
MD5 | a04958da497338f53f07dc048923f022 |
|
BLAKE2b-256 | fed5b226a31e2a5a4518a45b4b4beda91c16585a37cb4bed39a12f4ebe208e60 |
File details
Details for the file cellmaps_utils-0.5.0a1-py2.py3-none-any.whl
.
File metadata
- Download URL: cellmaps_utils-0.5.0a1-py2.py3-none-any.whl
- Upload date:
- Size: 55.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4eb387b577bd59639fb018e7b6c86be0fc6861eb9ea5b70414a5b51de8ec506 |
|
MD5 | 94c11bc59cd76ebbe04ae606073fb155 |
|
BLAKE2b-256 | 9e384c5b093a0babed7eee6090df338d2c2d56863f55eda07e88b4b6f724b10b |