equiformer_v2
equiformer_v2 copied to clipboard
Support for protein structures and residue features?
Hi, thanks for releasing Equiformer V2!
I have two quick questions:
- Can it handle protein coordinates (e.g., PDB data)?
- How to add amino acid properties (e.g., hydrophobicity, charge) or precomputed embeddings? Any tips for modifying the code?
Thanks!
Hi @Garhorne0813
Thanks for your interest, and my responses are as follows.
- Yes. EquiFold and FlowPacker are two examples of applying Equiformer series to protein-related tasks.
- I think you can treat some additional properties as extra type-0 vectors (or scalars). One similar example is how we encode the atom type -- we encode them as
long intand then convert to a feature vector withtorch.nn.Embeddingas here. Depending on whether the properties are discrete (e.g., atom type) or continuous, you might need different ways to convert the properties to features (e.g., discrete can use the same way as atom type and continuous ones can maybe use a linear layer to expand the dimension).
I am not very familiar with protein-related tasks, so feel free to correct my understanding or let me know if something is unclear.