Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handling token size expectations with paired MSAs and ligands #111

Open
BucherMichael opened this issue Oct 17, 2024 · 5 comments
Open

Handling token size expectations with paired MSAs and ligands #111

BucherMichael opened this issue Oct 17, 2024 · 5 comments
Labels
question Further information is requested

Comments

@BucherMichael
Copy link

I created unpaired and paired MSAs using jackhmmer searches and created two separate MSA contexts out of them. However, when you combine protein complex modeling with a ligand, the AllAtomStructureContext determines the token size from the number of protein residues plus the ligand atoms. In my hands, this produced a "BeartypeCallHintParamViolation" since the token size for MSAContext does not account for ligand tokens. I solved this by padding my paired MSA to the expected token size but most likely there is a better way to solve this?! Would be very happy for input! Many thanks!

@arogozhnikov
Copy link
Contributor

I solved this by padding my paired MSA

this is correct approach (assuming that ligands go last in input).

@arogozhnikov arogozhnikov added the question Further information is requested label Oct 17, 2024
@jackdent
Copy link
Contributor

We'll have code for MSA loading released soon (you can follow along with progress here: #109)

@BucherMichael
Copy link
Author

Fantastic, many thanks for the fast response and the great work!

@stianale

This comment was marked as off-topic.

@jackdent

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants