Skip to main content

SENSE-PPI

DOI - 10.1101/2023.09.19.558413 PyPI License - CeCILL Documentation Status

SENSE-PPI is a Deep Learning model for predicting physical protein-protein interactions based on amino acid sequences. It is based on embeddings generated by ESM2 and uses Siamese RNN architecture to perform a binary classification.

Installation

SENSE-PPI requires Python 3.9 or 3.10. To install the package, run:

pip install senseppi

N.B.: if you intend to use the create_dataset command to generate new datasets from STRING, do not forget to additionally install the MMseqs2 software (instructions can be found at: https://github.com/soedinglab/MMseqs2). The mmseqs command should be available in your PATH.

Usage

There are 5 commands available in the package:

  • train: trains SENSE-PPI on a given dataset
  • test: computes test metrics (AUROC, AUPRC, F1, MCC, Presicion, Recall, Accuracy) on a given dataset
  • predict: predicts interactions for a given dataset
  • predict_string: predicts interactions for a given dataset using STRING database: the interactions are taken from the STRING database (based on seed proteins). Predictions are compared with the STRING database. Optionally, the graphs can be constructed.
  • create_dataset: creates a dataset from the STRING database based on the taxonomic ID of the organism.

The package already comes with one pretrained version of the model fly_worm_human_chiken.ckpt (checkpoint with weights) that is used by default if model path is not specified. This model was trained on dataset that combined PPIs from D. melanogaster, C. elegans, H. sapiens and G. gallus, and it provides the best performance with respect to the other pretrained models.

The original SENSE-PPI repository also contains two human-based models pretrained on human PPIs: senseppi.ckpt and dscript.ckpt pretrained on SENSE-PPI and DSCRIPT human datasets respectively.

  • senseppi.ckpt: Download from here
  • dscript.ckpt : Download from here

For information about the other models that can be found in the pretrained_models folder, please refer to the original article.

N.B.: All pretrained models were made to work with proteins in range 50-800 amino acids.

  1. By running the 'predict' command the model will automatically take 1 as the minimum length and the maximum length will be the length of the longest protein in the dataset. However, it is strongly recommended to use the proteins in range 50-800 amino acids for the best performance.
  2. if you use --min_len and --max_len arguments your fasta file will be filtered automatically, so make sure you have a backup.

In order to cite the original SENSE-PPI paper, please use the following link: https://doi.org/10.1016/j.isci.2024.110371

The documentation for the package can be found here.

Release files for senseppi 0.7.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for senseppi 0.7.5
File Size Uploaded
senseppi-0.7.5.tar.gz 28.9 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for senseppi 0.7.5
File Interpreter ABI Platform
senseppi-0.7.5-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size:57.9 MB

Release files / senseppi-0.7.5.tar.gz

Download URL senseppi-0.7.5.tar.gz
Size 28.9 MB
Tags Source
SHA-256 checksum
How to use checksums
d7cf31478608aedd0ccc3be31acbda7c2a8e5b9199627821e2ca79fbb253e44e
BLAKE2b-256 checksum
How to use checksums
1213315000d742f81dd74dc8fba8eb24161809b2c335936e0040dbeee0bed296
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Release files / senseppi-0.7.5-py2.py3-none-any.whl

Download URL senseppi-0.7.5-py2.py3-none-any.whl
Size 28.9 MB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
1d8557712fa67ad77b38158ed3d836d3e6a6bff96cc8a851ebd77466af06ad22
BLAKE2b-256 checksum
How to use checksums
05835be69c8369423956050d7ad85086c296b837bcb932d1a4c251e51a96f14d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Release history Release notifications | RSS feed

This release

0.7.5 This release

2 release files

0.7.4

2 release files

0.7.3

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.9

2 release files

0.6.8

2 release files

0.6.5

2 release files

0.6.2

2 release files

0.5.9

2 release files

0.5.8

1 release file

0.5.7

2 release files

0.5.6

2 release files

0.5.5

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page