[BioPython] Atom serial number in Bio.PDB.PDBParser

Michael Schmitt ms99_2000 at yahoo.de
Fri Sep 5 04:56:14 EDT 2003


Hello.

Is there a way to get the atom serial numbers in a structure I retrieved in 
the following way:

from Bio.PDB.PDBParser import PDBParser
p= PDBParser(PERMISSIVE=1)
filename= 'testprotein.pdb'
s= p.get_structure(testid, filename)

The Atom objects have identifiers containing atom names, but I can't find the 
serial numbers.

Thanks for help.
Michael



More information about the BioPython mailing list