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

From 2 distinct structure to a single sequence ? #75

Open
PodevynLoris opened this issue Nov 9, 2023 · 4 comments
Open

From 2 distinct structure to a single sequence ? #75

PodevynLoris opened this issue Nov 9, 2023 · 4 comments

Comments

@PodevynLoris
Copy link

Thank you for your work @dauparas and the team.

I am wondering if there is a way to use ProteinMPNN to sample a single sequence from the backbone structures of two distinct chains as below ?
image6

@sokrypton
Copy link
Collaborator

As long as they are the same length, you can just pretend the input is a homooligomer and tie the positions between the two copies.

@PodevynLoris
Copy link
Author

@sokrypton Thank you for your fast answer.

What do you mean by "tie the positions between the copies"?

@sokrypton
Copy link
Collaborator

@dauparas
Copy link
Owner

You can pass a sequence symmetry specifying dictionary called --tied_positions_jsonl and choose which residues need to match. If two chains are of the same length see this example: https://github.com/dauparas/ProteinMPNN/blob/main/examples/submit_example_6.sh and if chains are of different lengths you can manually specify which residues should match by making your own.

#One dictionary inside the list specifies one symmetry between residues, the example below has two dictionaries which would tie residues
#A:1, B:2 together and also independently tie A:2, B:3 together etc
{"my_protein_name": [{"A": [1], "B": [2]}, {"A": [2], "B": [3]}]}

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

No branches or pull requests

3 participants