[Chimera-users] PDB data

Matthew Dougherty matthewd at bcm.edu
Thu Apr 2 13:23:26 PDT 2009

I was writing some python code involving PDB data.

looking at pre-existing code involving PDB:

m = om.open(pdb_path, 'PDB')[0]
rlist = m.residues

for r in rlist:

	lc = 'monomer residue %d' % (r.id.position)
    	if r.isHelix:
        		lc += '    HELIX'
    	elif r.isSheet:
        		lc += '    SHEET'

I was trying to track down the data structure for r/rlist, to see if  
there are any other parameters I could use besides isHelix, isSheet,  
and id.position.
where would that be located in the Chimera package?

thanks, Matt

More information about the Chimera-users mailing list