Skip to main content

A tool to generate hierarchies from protein to protein interaction networks

Project description

Cell Maps Generate Hierarchy

https://img.shields.io/pypi/v/cellmaps_generate_hierarchy.svg https://app.travis-ci.com/idekerlab/cellmaps_generate_hierarchy.svg?branch=main Documentation Status

Generates hierarchy from Cell Maps Coembedding using HiDeF

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.

  1. Make changes

    Modify code in this repo as desired

  2. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cellmaps_generate_hierarchy-0.2.1a1.tar.gz (128.5 kB view details)

Uploaded Source

Built Distribution

cellmaps_generate_hierarchy-0.2.1a1-py2.py3-none-any.whl (57.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file cellmaps_generate_hierarchy-0.2.1a1.tar.gz.

File metadata

File hashes

Hashes for cellmaps_generate_hierarchy-0.2.1a1.tar.gz
Algorithm Hash digest
SHA256 1e406b546f03592437b7bea4fc8151c3f7f1f573291776ee1c9ee9e258260d2f
MD5 06a97e52dc679c4c0e67b3565b5718d8
BLAKE2b-256 89f61d389a7377d0cf4b7f147bd74220e96d2f0fb45efd8acad2d69533a88c6b

See more details on using hashes here.

File details

Details for the file cellmaps_generate_hierarchy-0.2.1a1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for cellmaps_generate_hierarchy-0.2.1a1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e0db63e1b2db1a65114b1ff826843cae0cb5c1d7c7f928bab937157a9d3632b3
MD5 1f300f28d271b0a8b4de3ea0b645a4d0
BLAKE2b-256 e0d65b495e513d4c65577747afbaf3cd585575ce7ea1aaaab4b99a998f13c5ad

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page