[BioPython] feature request for Bio.PDB

Christian Meesters meesters at uni-mainz.de
Thu Sep 20 12:23:54 UTC 2007


Hi,

I think it would be good to have the option to retrieve the kind of atom
added using a method of the atom-class, e.g. like:
x = atom.get_kind()
and x would then be 'H' or 'N' for instance. It is of course possible to
retrieve this information via the atom id, but this requires to employ a
dictionary if one wants to know which type of atom this is. So, such a
method would only be for convenience.

It would be nice to see this in the upcoming release, but I fear it's
too late for this and it would be great if this idea would only be
considered for some other future release.

Christian



More information about the Biopython mailing list