generatebio / chroma

A generative model for programmable protein design
Apache License 2.0
657 stars 83 forks source link

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

Open sweatyaiguy opened 2 months ago

sweatyaiguy commented 2 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 1 week ago

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