I would like to predict structures for some given sequences using ESM3. I am using the following code snippet for it
structure_prediction_config = GenerationConfig(
track="structure", # We want ESM3 to generate tokens for the structure track
num_steps=len(sequence_generation) // 8,
temperature=0.7,
)
structure_prediction_prompt = ESMProtein(sequence=sequence_generation.sequence)
structure_prediction = model.generate(
structure_prediction_prompt, structure_prediction_config
)
# Convert the generated structure to a back into a ProteinChain object
structure_prediction_chain = structure_prediction.to_protein_chain()
pdb_to_input_seq = structure_prediction_chain.to_pdb_string()
However, I don't see side-chain information in the resulting pdb. Is there a parameter that needs to be set to force the side-chain prediction?
Hi,
I would like to predict structures for some given sequences using ESM3. I am using the following code snippet for it
However, I don't see side-chain information in the resulting pdb. Is there a parameter that needs to be set to force the side-chain prediction?
Thank you in advance!