Home | Trees | Index | Help |
|
---|
Package mmLib :: Module PDBBuilder :: Class PDBStructureBuilder |
|
object
--+ |RecordProcessor
--+ |object
--+ | | |StructureBuilder
--+ | PDBStructureBuilder
Method Summary | |
---|---|
Complicated method. | |
get_fragment_id(self,
rec,
res_seq,
icode)
| |
Override load_atom to maintain a serial_num->atm map. | |
pdb_error(self,
rec_name,
text)
| |
preprocess_AUTHOR(self,
author_list)
| |
preprocess_COMPND(self,
compnd_list)
| |
preprocess_EXPDTA(self,
expdta_list)
| |
preprocess_KEYWDS(self,
keywds_list)
| |
preprocess_SEQRES(self,
seqres)
| |
preprocess_SOURCE(self,
source_list)
| |
preprocess_TITLE(self,
title)
| |
process_ANISOU(self,
rec)
| |
process_ATOM(self,
rec)
| |
process_CONECT(self,
rec)
| |
process_CRYST1(self,
rec)
| |
process_ENDMDL(self,
rec)
| |
process_HEADER(self,
rec)
| |
process_HELIX(self,
rec)
| |
process_HETATM(self,
rec)
| |
process_HYDBND(self,
rec)
| |
process_LINK(self,
rec)
| |
process_MODEL(self,
rec)
| |
process_SHEET(self,
rec)
| |
process_SIGATM(self,
rec)
| |
process_SIGUIJ(self,
rec)
| |
process_SITE(self,
rec)
| |
process_SLTBRG(self,
rec)
| |
process_SSBOND(self,
rec)
| |
This method needs to be reimplemented in a fuctional subclass. | |
This method needs to be reimplemented in a fuctional subclass. | |
This methods needs to be reimplemented in a functional subclass. | |
Inherited from StructureBuilder | |
| |
The argument helix_list is a list of Python dictionaries with information to build build AlphaHelix objects into the Structure. | |
The argument beta_sheet_list is a list of Python dictionaries with information to build build BetaSheet objects into the Structure. | |
Call by the implementation of load_metadata to load bond information on the structure. | |
The sequence map contains the following keys: chain_id: the chain ID fo the sequence; num_res: the number of residues in the sequence; sequence_list: a list of 3-letter codes of the residues in the sequence. | |
The argument site_list is a list of Python dictionaries with information to build build Site objects into the Structure. | |
| |
Called by the implementation of load_metadata to load the unit cell pararameters for the structure. | |
Runs the name service on all atoms needing to be named. | |
After loading all atom records, use the list of atom records to build the structure. | |
This method needs to be reimplemented in a fuctional subclass. | |
Called for final cleanup after structure source readinging is done. | |
Called after the the metadata loading is complete. | |
Called after the read_start method. | |
Inherited from RecordProcessor | |
| |
| |
Iterates the PDB records in self, and searches for handling methods in the processor object for reading the objects. | |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Method Details |
---|
bond_processor(self, **args)Complicated method. Required arguments are: rec = PDB record atm1/2 = Atom object, if you want to override the lookup chain_id_field1/2: PDB field name for the chain ID res_seq1/2_field: PDB field for the residue sequence num icode1/2_field: PDB field for the residue insertion code name1/2_field: PDB field for the atom name atl_loc1/2: PDB filed name for the atom alt_loc symop1/2_field: PDB field name for the atom symmetry operation chain_id1/2: override the chain ID frag_id1/2: override the fragmetn ID name1/2: override the atom name alt_loc1/2: override the atom alt_loc |
load_atom(self, atm_map)Override load_atom to maintain a serial_num->atm map. |
read_atoms(self)This method needs to be reimplemented in a fuctional subclass. The subclassed read_atoms method should call load_atom once for every atom in the sturcture, and should not call any other load_* methods.
|
read_metadata(self)This method needs to be reimplemented in a fuctional subclass. The subclassed read_metadata method should call the various load_* methods to set non-atom coordinate data for the Structure.
|
read_start(self, fil, update_cb=None)This methods needs to be reimplemented in a functional subclass. This function is called with the file object (or any other object passed in to build a Structure from) to begin the reading process. This is usually used to open the source file.
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sun Apr 23 22:08:38 2006 | http://epydoc.sf.net |