Document for pMTnet Omni
Project description
pMTnet Omni: your one-stop TCR-pMHC affinity prediction algorithm :microscope:
Package | Documentation | Code Coverage |
---|---|---|
pMTnet Omni | ||
pMTnet Omni Document |
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
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
- Prepare your dataset so that it looks somewhat like the following:
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.
- 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
-
Go to our website and upload your data including the
.pickle
file. -
An example output would look like this:
For a more in-depth explanation on input format, check out our online documentation.
CITATION HERE
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 pMTnet_Omni_Document-0.0.7.tar.gz
.
File metadata
- Download URL: pMTnet_Omni_Document-0.0.7.tar.gz
- Upload date:
- Size: 150.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7553c5ff776a4a4cb9896daa9d7a6490caf56618ee4812372f68f248005bf923 |
|
MD5 | 00fbc06f816185a49153218f38ab4269 |
|
BLAKE2b-256 | ed77cf55b602abb2a4f39e8ec054fe652036c4e18f093e000ab1666248300d9a |
File details
Details for the file pMTnet_Omni_Document-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: pMTnet_Omni_Document-0.0.7-py3-none-any.whl
- Upload date:
- Size: 81.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5449625d7c1137dfdf450b05b2e615fd6e4aafba08bf2b3f1755e82a7f953715 |
|
MD5 | fafcd10e8d550b6a4bc742e343393a38 |
|
BLAKE2b-256 | 8505f9b9c0c1ed7d7bfc70545d6b4a312c0d4be9fb7ab91e71da02535d583cff |