[Biopython] polypeptide residue ids

João Rodrigues anaryin at gmail.com
Fri Nov 19 13:54:17 EST 2010


Hello KM,

You can iterate over the chains as described in the manual and then for each
residue call get_id().

for residue in structure.get_residues():
   print residue.get_id()[1]

Best

João [...] Rodrigues
http://doeidoei.wordpress.com



On Fri, Nov 19, 2010 at 7:43 PM, km <srikrishnamohan at gmail.com> wrote:

> Hi all,
> I would like to derive amino acid ids (number) corresponding to the
> residues in polypeptide chains extracted from PDB file using biopython
> PDB module.
> Is it possible to obtain this information with PDB module of biopython ?
>
> regards,
> KM
> _______________________________________________
> Biopython mailing list  -  Biopython at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/biopython
>



More information about the Biopython mailing list