biopython/biopython — pull request #35 by lennax (2012-04-23 05:13:57+00:00)
Title: Generate Raf dict from PDB (closes 3169)

I've adapted Hongbo Zhu's code to extract the three to one letter codes directly from the PDB Chemical Component dictionary.

Existing calls of `from Raf import to_one_letter_code` should work as expected.

* Scripts/PDB/generate_three_to_one_dict.py: Downloads and extracts PDB Chemical Component Dictionary
* Bio/SCOP/three_to_one_dict.py: Product of this script; Python-accessible version of the dict
* Bio/SCOP/Raf.py: Modification of Raf to import three_to_one_dict