miniworld.utils.data_refactoring.protein_to_template

miniworld.utils.data_refactoring.protein_to_template(protein, position=None, f0d=None, f1d=None, IS_LABEL=False)[source]

Input : Protein object, position (torch.Tensor) Output : ProteinTemplate object This function is used when Alphafold output is used as template. A protein is a object of Protein class and a position is confident residue position. (It is filtered from other function)