A class representing an atom, as read from a PDB file using Biopython.
Return the co-ordinates and density value of the grid point in a density map closest to this atom. Return 0 if atom is outside of map.
Transform atom using a 3x3 matrix rot_mat = a 3x3 Python matrix instance.
“
A class representing an Residues, use instead the residues option if Biopy
A class representing an Structure, as read from a PDB file using Biopython.
Return RMSD of structure from initial position after transltation.
Return the RMSD between two structure instance.
Return a list of Structure instance of the selected segment from the structure:
Arguments:
- rigid list
list of rigid body defined as:
[[riA,rfA],..,[riB,rfB]]
where :
riA= starting residues of segment A rfA=final residues of segment A.
Combine a list of Structure instance in a unique rigid body (as Structure instance).
Return an Atom instances if exists in compared structure, based on atom index.
Return a Structure instance of the selected rigid body of non consecutively segment from a Structure instance:
list of rigid body defined as:
[riA,rfA,..,riB,rfB]
where :
riA= starting residues of segment A rfA=final residues of segment A
so that Rigid body Structure is formed by non consecutively segment.
Return an array containing Atom instances of positions of all atoms as: [(RES 1 A: x,y,z), ... ,(RES2 1 A: x1,y1,z1)].
Return a 6-ple containing the minimum and maximum x, y and z co-ordinates of the structure. Given in order (min_x, max_x, min_y, max_y, min_z, max_z).
Return an array containing Vector instances of positions of all atoms and mass.
Calculates Mass (kDa) of the Structure instance, from average mass. Atoms based use get_prot_mass_from_res is more accurate.
Calculates Mass (kDa) of the Structure instance, from average mass
Return new Structure instance of the selected residues range without considering residues chain.
Return a Structure instance comprising all residues smaller then startRes.
Return a Structure instance comprising all residues greater then startRes.
Transform Structure using a 3x3 matrix
Arguments:
- matrix
- a 3x3 Python matrix instance.
Randomise the position of this Structure instance.
Renumber the structure starting from startRes. Missing number list to add.
Order residues in atom list by residue number. (NOTE: Does not check for chain information - split by chain first).
Rotate this Structure instance around its centre.
Arguments:
- turn
- angle (in radians if rad == True, else in degrees) to rotate map.
- x,y,z
- axis to rotate about, ie. x,y,z = 0,0,1 rotates the structure round the xy-plane.
- x_trans, y_trans, z_trans
- extra translational movement if required.
- com
- centre of mass around which to rotate the structure. If False, rotates around centre of mass of structure.
Rotate this Structure instance around its centre.