Package mmLib :: Module mmCIFBuilder :: Class mmCIFFileBuilder
[hide private]
[frames] | no frames]

Class mmCIFFileBuilder

source code

object --+
         |
        mmCIFFileBuilder

Builds a mmCIF file from a Structure object.

Instance Methods [hide private]
 
__init__(self, struct, cif_file)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
get_table(self, name)
Returns the self.cif_data[name] mmCIFTable, or it creates it and adds it to self.cif_data if it does not exist.
source code
 
get_entity_desc_from_id(self, entity_id) source code
 
get_entity_desc_from_sequence(self, sequence) source code
 
add__entry(self)
Add the _entry table.
source code
 
add__entity(self)
Adds the entity table.
source code
 
add__entity_poly(self)
Adds the _entity_poly table.
source code
 
add__cell(self)
Adds the _cell table.
source code
 
add__symmetry(self)
Adds the _symmetry table.
source code
 
add__atom_site(self)
Adds the _atom_site table.
source code
 
set_atom_site_row(self, asrow, atm, entity_desc, label_seq_id)
Add atom_site coordinate row.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, struct, cif_file)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

add__entity(self)

source code 

Adds the entity table. The entity names are faked here, since it is really not clear to us how the names are chosen by the PDB.