@@ -77,6 +77,7 @@ def from_protein_chain(
7777 sasa = protein_chain .sasa ().tolist (),
7878 function_annotations = None ,
7979 coordinates = torch .tensor (protein_chain .atom37_positions ),
80+ plddt = torch .tensor (protein_chain .confidence ),
8081 )
8182 else :
8283 return ESMProtein (
@@ -85,6 +86,7 @@ def from_protein_chain(
8586 sasa = None ,
8687 function_annotations = None ,
8788 coordinates = torch .tensor (protein_chain .atom37_positions ),
89+ plddt = torch .tensor (protein_chain .confidence ),
8890 )
8991
9092 @classmethod
@@ -104,6 +106,7 @@ def from_protein_complex(
104106 coordinates = torch .tensor (
105107 protein_complex .atom37_positions , dtype = torch .float32
106108 ),
109+ plddt = torch .tensor (protein_complex .confidence ),
107110 )
108111
109112 def to_pdb (self , pdb_path : PathOrBuffer ) -> None :
@@ -325,7 +328,9 @@ def use_generative_unmasking_strategy(self):
325328@define
326329class InverseFoldingConfig :
327330 invalid_ids : Sequence [int ] = []
328- temperature : float = 1.0
331+ temperature : float = 0.1
332+ seed : int | None = None
333+ decode_in_residue_index_order : bool = False
329334
330335
331336## Low Level Endpoint Types
0 commit comments