generatebio / chroma

A generative model for programmable protein design
Apache License 2.0
696 stars 90 forks source link

Conditioning on protein of different length than protein to be designed #54

Open sweatyaiguy opened 4 months ago

sweatyaiguy commented 4 months ago

Hello and great job on the tool! I'm trying to make a substructure conditioner based on one region of protein A and apply that to a similar region of protein B. However, because the proteins A/B have different numbers of atoms (I specified the same number of residues), I keep getting an error relating to tensor mismatch. Is there an intelligent way to pad/trim the pdbs so that I can do this?

Thanks!

sweatyaiguy commented 2 months ago

Hello! Just wanted to ask again if there's any guidance I could get here.