|
partial_structure_reader(filename,
frames_to_check=None)
Iterator that returns the specified frames of the structures in
filename {structure} By default return all frames, but if
frames_to_check { list, set or anything with an "__in__"
method" of integers} is set then the only frames for which their
index (starting with 0) are in frames to check are returned. |
|
|
|
get_moved_residues(ct,
ref_ct,
tolerance)
For a given ct {structure.Stucture} and ref_ct {structure.Structure}
with the same number of atoms in the same order, return a sorted list
with all the residue names (__str__() evaluation of their associated
structure._Residue class) that contains atoms that moved more than a
tolerance {float} in Angstroms. |
|
|
|
get_phi_psi(ct)
Return a dictionary with the key being the name of each residues and
the value being a 2 member list containing the PHI and PSI angles of
that residue |
|
|
|
get_modified_backbone_angles(ct,
ref_ct,
tolerance)
For a given ct {structure.Stucture} and ref_ct {structure.Structure}
with the same number of atoms in the same order, return a sorted list
with all the residue names (__str__() evaluation of their associated
structure._Residue class) that contains atoms that moved either phi
or psi angles more than tolerance {float} in degrees |
|
|
|
check_moved_residues(filename,
reference_fn,
moved_residues,
tolerance=0.01,
check_backbone_dihedrals=False,
frames_to_check=None)
STU workup that will check to see if a list of moved residues {
string the residue names (__str__() evaluation of the
structure._Residue class) separated by spaces} corresponds to the
list of all residue that have an an atom that moved more than
tolerance {float} between any of the frames_to_check in filename (see
partial_structure_reader) and the first structure frame in
reference_fn. |
|
|
|
check_protein_health(filename,
frames_to_check=None,
steric_delta=0.3,
bond_length_deviation=0.15,
protein_health_kwargs=None)
Use the featurs in structurecheck to identify potential problems in
the structure. |
|
|
|
measure_distance(ct1,
name1,
ct2,
name2)
For a given structure ct1 {structure.Structure} and the Plop residue
or atom name name1 {string, described in
psp_util.convertPlopResToAsl} and a second ct2 {structure.Structure},
name2 {string} pair following the same convention, return the minimum
distance between the two. |
|
|
|
check_distance(filename,
name1,
name2,
distance,
tolerance,
frames_to_check=None)
STU workup For the specified structure frames in a filename {string}
return True if the minimum distance between the atom or residue name1
{string} is distance {float} +- tolerance{float} Angstroms. |
|
|
|
|
|
check_structure_counts(filename,
atoms=None,
residues=None,
molecules=None,
frames_to_check=None)
STU workup For the specified structure frames in a filename {string}
return True if all contain the specified numbers of atoms{integer},
residues{integer}, and molecules{integer}, If any of these are not
set then that test is skipped. |
|
|
|
check_ct_property(filename,
property_name,
value,
tolerance=' = ' ,
frames_to_check=None)
STU Workup For a specified structure in a filename {string} return
True if the property named property_name{string} is equal to value
{any type} If tolerance is ">", "<",
">=" or "<=" than use that operation
instead of equals. |
|
|