A tool to generate embeddings from networks
Project description
Cell Maps PPI Embedder
Generate embeddings from Protein-Protein interaction networks using node2vec
Free software: MIT license
Documentation: https://cellmaps-ppi-embedding.readthedocs.io.
Dependencies
Compatibility
Python 3.8+
Installation
git clone https://github.com/idekerlab/cellmaps_ppi_embedding
cd cellmaps_ppi_embedding
make dist
pip install dist/cellmaps_ppi_embedding*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_ppi_embedding
pip uninstall cellmaps_ppi_embedding -y ; make clean dist; pip install dist/cellmaps_ppi_embedding*whl
Needed files
The output directory for the PPI download is required (see Cell Maps PPI Downloader).
Usage
For information invoke cellmaps_ppi_embeddingcmd.py -h
Example usage
cellmaps_ppi_embeddingcmd.py ./cellmaps_ppi_embedding_outdir --inputdir ./cellmaps_ppidownloader_outdir
Via Docker
Example usage
Coming soon ... ...
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.3.0 (2024-08-29)
Added --provenance flag to pass a path to json file with provenance information. This removes the necessity of input directory to be an RO-Crate.
0.2.0 (2024-03-12)
Added flags for setting name, organization name, and project name needed for FAIRSCAPE.
0.1.0 (2024-02-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
Hashes for cellmaps_ppi_embedding-0.3.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 316a389940ff97ffe7c56cae988a05b7b93963fb1f8587e9bda5dbec57736f0e |
|
MD5 | ebbe804caa9a26143ef31d6a79c79b16 |
|
BLAKE2b-256 | afa6cea867c2b3c13ff3c1f48db576137afc4d4c483fe4b8049228cf0d3711de |
Hashes for cellmaps_ppi_embedding-0.3.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac33a788f78f031ac3d6f72e6007fafe76cb4ba8202869260fc804a024d93f4f |
|
MD5 | 7bc315c835fb7b431bd28126e2a6fd38 |
|
BLAKE2b-256 | 7f87ce9816a997239a01893fcb414eef43776ec27b56d15ad9a08f27bfcd5e15 |