TAMO.DataSources.PDB
index
/home/David_Gordon/docs/TAMO/DataSources/PDB.py

PDB.py -- Simple classes for reading/manipulating Protein and DNA structural
files in the format of the Protein Data Bank.
 
Copyright (2005) Whitehead Institute for Biomedical Research (except as noted below)
All Rights Reserved
 
Author: David Benjamin Gordon

 
Modules
       
operator
os
re
string
sys

 
Classes
       
simplePDB
simplePDBatom

 
class simplePDB
    Trival PDB reader, with a few handy utilities.
Relies on simplePDBatom
 
  Methods defined here:
__init__(self, filename)
get_chain_range(self, chain_id)
get_chain_sequence(self, chain_id)

 
class simplePDBatom
    Trival atom type that knows how to parse an ATOM line
from a pdb file, and how to print itself out again
 
  Methods defined here:
__init__(self, line='')
__repr__(self)
res3to1(self, resname_3letters)