A tool to generate hierarchies from protein to protein interaction networks
Project description
Cell Maps Generate Hierarchy
Generates hierarchy from Cell Maps Coembedding using HiDeF
Free software: MIT license
Documentation: https://cellmaps-generate-hierarchy.readthedocs.io.
Source code: https://github.com/idekerlab/cellmaps_generate_hierarchy
Dependencies
Compatibility
Python 3.8+
Installation
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
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
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
# 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).
Usage
For information invoke cellmaps_generate_hierarchycmd.py -h
Example usage
cellmaps_generate_hierarchycmd.py ./cellmaps_generate_hierarchy --coembedding_dirs ./cellmaps_coembedding_outdir
Via Docker
Example usage
Coming soon...
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
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.
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_generate_hierarchy-0.2.1.tar.gz
.
File metadata
- Download URL: cellmaps_generate_hierarchy-0.2.1.tar.gz
- Upload date:
- Size: 128.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b375d8627958bad2806d6ecab9483b737eb51c165056568feea429cde3e4a236 |
|
MD5 | 42b7f38accc96172b1233bdf6bc6e18a |
|
BLAKE2b-256 | 124692987120d9cdcd0881eecb7cba591193e2d70ed225ceba2e4237585c9e68 |
File details
Details for the file cellmaps_generate_hierarchy-0.2.1-py2.py3-none-any.whl
.
File metadata
- Download URL: cellmaps_generate_hierarchy-0.2.1-py2.py3-none-any.whl
- Upload date:
- Size: 57.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03cde56cbd3e95356ec618455f8f71787fc8c81945110b040f9304baaf8a7508 |
|
MD5 | 368c5734313437d188b64a498e061166 |
|
BLAKE2b-256 | a84017f69c381b2e6c4910b1d645de1c41c314cd50bf0c9dd113dcc2c89cf583 |