paramagpy.protein.CustomStructure¶
- class paramagpy.protein.CustomStructure(*arg, **kwargs)[source]¶
This is an overload hack of the BioPython Structure object
- __init__(*arg, **kwargs)[source]¶
Initialize the class.
Methods
add
(entity)Add a child to the Entity.
atom_to_internal_coordinates
([verbose])Create/update internal coordinates from Atom X,Y,Z coordinates.
center_of_mass
([geometric])Return the center of mass of the Entity as a numpy array.
copy
()Copy entity recursively.
detach_child
(id)Remove a child.
Detach the parent.
Return atoms from residue.
Return chains from models.
Return the full id.
get_id
()Return the id.
Return iterator over children.
Return level in hierarchy.
get_list
()Return a copy of the list of children.
Return models.
Return the parent Entity object.
Return residues from chains.
has_id
(id)Check if a child with given id exists.
insert
(pos, entity)Add a child to the Entity at a specified position.
internal_to_atom_coordinates
([verbose])Create/update atom coordinates from internal coordinates.
parse
(dataValues[, models])Associate experimental data with atoms of the PDB file This method takes a DataContainer instance from the dataparse module
set_parent
(entity)Set the parent Entity object.
transform
(rot, tran)Apply rotation and translation to the atomic coordinates.
Attributes
Return identifier.