Skip to main content

A tool to generate embeddings from networks

Project description

Cell Maps PPI Embedder

The Cell Maps PPI Embedder is part of the Cell Mapping Toolkit

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
pip install -r requirements_dev.txt
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.4.3 (2025-07-03)

  • Fix for UD-3116, missing header 0 row

0.4.2 (2025-04-28)

  • Updated to PEP 517 compliant build system

0.4.1 (2025-03-19)

  • Add version bounds for required packages.

0.4.0 (2024-12-02)

  • Added README generation.

  • Refactor code.

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.4.3.tar.gz (28.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cellmaps_ppi_embedding-0.4.3-py2.py3-none-any.whl (15.8 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: cellmaps_ppi_embedding-0.4.3.tar.gz
  • Upload date:
  • Size: 28.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.18

File hashes

Hashes for cellmaps_ppi_embedding-0.4.3.tar.gz
Algorithm Hash digest
SHA256 25882397f5df5c56aeb4ddcf4e37a287693899ffff91d3cd51aa04fecf4a41a1
MD5 a1ac5674901e7d5235fd524b4d200e60
BLAKE2b-256 6857df65415ce58bd3ade4da1eb1a83a048a4063534ccf0fceb0c98ae4546bc3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cellmaps_ppi_embedding-0.4.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 798aa6ccb07a074ad25c56d7bf1334fc1ce2e1bfcb40f53d7a862465a4374dbf
MD5 b135ade9ccac9e7d88a621f51c44b432
BLAKE2b-256 c60696475b186ebf47fa14eef790856296a8d7813b47f10dd1996fd078947d28

See more details on using hashes here.

Supported by

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