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

Type mmCIFFileBuilder

object --+
         |
        mmCIFFileBuilder


Builds a mmCIF file from a Structure object.
Method Summary
  __init__(self, struct, cif_file)
  add__atom_site(self)
Adds the _atom_site table.
  add__cell(self)
Adds the _cell table.
  add__entity(self)
Adds the entity table.
  add__entity_poly(self)
Adds the _entity_poly table.
  add__entry(self)
Add the _entry table.
  add__symmetry(self)
Adds the _symmetry table.
  get_entity_desc_from_id(self, entity_id)
  get_entity_desc_from_sequence(self, sequence)
  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.
  set_atom_site_row(self, asrow, atm, entity_desc, label_seq_id)
Add atom_site coordinate row.
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Method Details

add__atom_site(self)

Adds the _atom_site table.

add__cell(self)

Adds the _cell table.

add__entity(self)

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

add__entity_poly(self)

Adds the _entity_poly table.

add__entry(self)

Add the _entry table.

add__symmetry(self)

Adds the _symmetry table.

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.

set_atom_site_row(self, asrow, atm, entity_desc, label_seq_id)

Add atom_site coordinate row.

Generated by Epydoc 2.1 on Sun Apr 23 22:08:38 2006 http://epydoc.sf.net