3
from Bio.PDB import PDBParser
from Bio.PDB import Selection
structure = PDBParser().get_structure('4GBX', '4GBX.pdb') # load your molecule
atom_list = Selection.unfold_entities(structure[0]['E'], 'A') # 'A' is for Atoms in the chain 'E'

当我使用上面的代码在 PDB 4GBX 中展开链 E 时,最后 2 个氧原子atom_list属于同一链中的水杂原子。如何获得仅包含蛋白质残基原子的列表并在选择中避免其他配体或水分子?

4

0 回答 0