Question: Radius of Gyration via PDBParser
gravatar for Oldeuboi
2.9 years ago by
Oldeuboi0 wrote:

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.

rna-seq • 868 views
ADD COMMENTlink written 2.9 years ago by Oldeuboi0
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1253 users visited in the last hour