Skip to main content

Document for pMTnet Omni

Project description

pMTnet Omni: your one-stop TCR-pMHC affinity prediction algorithm :microscope:

Logo

forthebadge forthebadge

Package Documentation Code Coverage
pMTnet Omni codecov
pMTnet Omni Document Documentation Status codecov

pMTnet Omni is a deep learning algorithm for affinity prediction based on TCR Va, Vb, CDR3a, CDR3b sequences, peptide sequence, and MHC allele types. The predictions can be made for human and mouse alleles, and for both CD8 T cells/MHC class I and CD4 T cells/MHC class II.

Please refer to our paper for more details: pMTnet Omni paper link here

We host the online tool on DBAI, where you can find all the members of the pMTnet family, including pMTnet V1.

We have also built a detailed online documentation where we guide you step-by-step on how to format your data so it can be accpted by our algorithm.

NOTE: This is the documentation for the data curation supporting tool for pMTnet Omni. Use this BEFORE you upload your dataset to DBAI.

Model Overview

Model Overview

Dependencies

  • numpy==1.22.4
  • pandas==1.5.2
  • tqdm==4.64.1
  • torch==1.13.1
  • fair-esm==2.0.0

Enviroment Setup

conda env create -f pMTnet_Omni_Document_env.yml

Installation

conda activate pMTnet_Omni_Document
pip install pMTnet_Omni_Document

Quick Start Guide

  1. Prepare your dataset so that it looks somewhat like the following: Sample df Along with the main program, we also published 5 datasets under the ./validation_data folder. Feel free to use those datasets to check if you TCR namings, Amino Acid sequences, and MHC namings conform with our standard.

NOTE: When both TCR names (resp. MHC) and the TCR sequences (resp. MHC sequences) are provided, we will disregard the sequences. If the names can NOT be found in our reference database, the record WILL be dropped.

NOTE: On the other hand, if the names are NOT provided, we will use the sequences with minimal curation.

  1. Say your dataset is under ./df.csv. In your terminal, run
conda activate pMTnet_Omni_Document

python -m pMTnet_Omni_Document --file_path ./df.csv --validation_data_path ./validation_data --output_file_path ./df_result.csv
  1. Go to our website and upload your data including the .pickle file.

  2. An example output would look like this: Sample output

For a more in-depth explanation on input format, check out our online documentation.

CITATION HERE

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

pMTnet_Omni_Document-0.0.2.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

pMTnet_Omni_Document-0.0.2-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

Details for the file pMTnet_Omni_Document-0.0.2.tar.gz.

File metadata

  • Download URL: pMTnet_Omni_Document-0.0.2.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for pMTnet_Omni_Document-0.0.2.tar.gz
Algorithm Hash digest
SHA256 489fd3264e9ad006512186c00cab3fe5a6e8b974d9a5e30c84f5ed79830b728d
MD5 7c9be71c4ba0e7d05cb1803b6dee91bb
BLAKE2b-256 87097a5bc3033a148f2c1282b70adb4959e7400a98391956da003e5a4803fb31

See more details on using hashes here.

File details

Details for the file pMTnet_Omni_Document-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for pMTnet_Omni_Document-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1b11424e5393de83e330aa6ce2babe07fe625efe6a42e5251637de045281a881
MD5 f70923b5bd4648cda4657c0c0c0bab3c
BLAKE2b-256 4eb3177be734eff4ee752965b8819ee2694da7e9cd1176e04919b774149abf1d

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