miniworld.utils.ProteinClass.PDB_parsing¶
- miniworld.utils.ProteinClass.PDB_parsing(PDB_file, IS_LABEL=True, return_lddt=False)[source]¶
Input : PDB file path, IS_LABEL (bool) Output : Protein object
This function handle multi-model PDB file as well as single-model PDB file. Also this function handle multiple chains. And model idx start from 0 in this function, but PDB model idx start from 1. So I subtract 1 from model idx. This function parse PDB file and return a object of Protein class. I assume that all chain break is same in each model.