-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
Thank you for your great work!
As a user I have some questions. Suppose that there are four or five chains (eg. the TCR-pMHC complex, with the chains of A, B, M, N, P), could you please tell me whether I can still extract cross-chain information using ESM-PPI, since I notice TCR-pMHC complex is included in the PPI training process. And what are the exact meaning of the final inputs in the provided code here? (the output keys are (['labl', 'mask', 'pred', 'sfea', 'pfea']))
Thank you! :)
import torch
import tfold
# Download the pre-trained model
model_path = tfold.model.esm_ppi_650m_ab()
# Load the model
model = tfold.model.PPIModel.restore(model_path)
# Prepare antibody sequences (can be single or multiple sequences)
data = [
'QVQLVQSGAEVKKPGASVKVSCKASGYPFTSYGISWVRQAPGQGLEWMGWISTYNGNTNYAQKFQGRVTMTTDTSTTTGYMELRRLRSDDTAVYYCARDYTRGAWFGESLIGGFDNWGQGTLVTVSS', # Heavy chain
'EIVLTQSPGTLSLSPGERATLSCRASQTVSSTSLAWYQQKPGQAPRLLIYGASSRATGIPDRFSGSGSGTDFTLTISRLEPEDFAVYYCQQHDTSLTFGGGTKVEIK' # Light chain
]
ppi_output = model(data)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels