paramagpy.protein.CustomStructureBuilder

class paramagpy.protein.CustomStructureBuilder(*arg, **kwargs)[source]

This is an overload hack of BioPython’s CustomStructureBuilder

__init__(*arg, **kwargs)[source]

Initialize the class.

Methods

get_structure()

Return the structure.

init_atom(name, coord, b_factor, occupancy, …)

Create a new Atom object.

init_chain(chain_id)

Create a new Chain object with given id.

init_model(model_id[, serial_num])

Create a new Model object with given id.

init_residue(resname, field, resseq, icode)

Create a new Residue object.

init_seg(segid)

Flag a change in segid.

init_structure(structure_id)

Initialize a new Structure object with given id.

set_anisou(anisou_array)

Set anisotropic B factor of current Atom.

set_header(header)

Set header.

set_line_counter(line_counter)

Tracks line in the PDB file that is being parsed.

set_sigatm(sigatm_array)

Set standard deviation of atom position of current Atom.

set_siguij(siguij_array)

Set standard deviation of anisotropic B factor of current Atom.

set_symmetry(spacegroup, cell)

Set symmetry.