Hi, I study Bioinformatics and I'm really new at this. I want to write a code that includes Radius of Gyration. But, i have to use only PDBParser. I have the .pdb files, i wrote the start of it, but i need help for the rest.
from Bio.PDB.PDBParser import PDBParser p=PDBParser() structure=p.get_structure('1enh', '1enh.pdb')
for model in structure: for chain in model: for residue in chain: for atom in residue: a = list(atom.get_coord())
The problem for me in here is how to get list of "CA" atoms. Also need to write a function i guess. If someone can help it would be awesome. Thank you.