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.1 (2024-09-06)
Bug fix in --inputdir argument.
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
File details
Details for the file cellmaps_ppi_embedding-0.3.1.tar.gz
.
File metadata
- Download URL: cellmaps_ppi_embedding-0.3.1.tar.gz
- Upload date:
- Size: 25.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 | 2203321f897c64a90e1b190a6a14c86e3cbe34f0ed2c79bbf8f8df916a002d0a |
|
MD5 | 2079fd03508bd5f0024d02f638ad6646 |
|
BLAKE2b-256 | 9bbea432ab4ce7829ddf6f47949784ff7b8f951cee1d0fc1109c60d7f728f6e8 |
File details
Details for the file cellmaps_ppi_embedding-0.3.1-py2.py3-none-any.whl
.
File metadata
- Download URL: cellmaps_ppi_embedding-0.3.1-py2.py3-none-any.whl
- Upload date:
- Size: 13.1 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 | b9ca6b553e52f200ba991ec63851cd46ce00e51809c83ed125d3a47ee6ac8bf4 |
|
MD5 | 882373aea99fe76029b5546417aeacf7 |
|
BLAKE2b-256 | 04d5af3a5857844777e88d87b6a061ae600fe71e357776aa4d3563957921abc7 |