Skip to main content

A tool to generate embeddings from networks

Project description

Cell Maps PPI Embedder

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

Generate embeddings from Protein-Protein interaction networks using node2vec

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.

  1. Make changes

    Modify code in this repo as desired

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


Download files

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

Source Distribution

cellmaps_ppi_embedding-0.3.1.tar.gz (25.5 kB view details)

Uploaded Source

Built Distribution

cellmaps_ppi_embedding-0.3.1-py2.py3-none-any.whl (13.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file cellmaps_ppi_embedding-0.3.1.tar.gz.

File metadata

File hashes

Hashes for cellmaps_ppi_embedding-0.3.1.tar.gz
Algorithm Hash digest
SHA256 2203321f897c64a90e1b190a6a14c86e3cbe34f0ed2c79bbf8f8df916a002d0a
MD5 2079fd03508bd5f0024d02f638ad6646
BLAKE2b-256 9bbea432ab4ce7829ddf6f47949784ff7b8f951cee1d0fc1109c60d7f728f6e8

See more details on using hashes here.

File details

Details for the file cellmaps_ppi_embedding-0.3.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for cellmaps_ppi_embedding-0.3.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b9ca6b553e52f200ba991ec63851cd46ce00e51809c83ed125d3a47ee6ac8bf4
MD5 882373aea99fe76029b5546417aeacf7
BLAKE2b-256 04d5af3a5857844777e88d87b6a061ae600fe71e357776aa4d3563957921abc7

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