3This script shows how to simulate residue-protein
4binding contacts inferred from mutagenesis studies.
5This example shows protein A binding to protein B
6through a set of residues predicted to be required
7for binding in mutagenesis studies.
26 print(
"This example is too slow to test in debug mode - run without")
27 print(
"internal tests enabled")
31|molecule_name|color|fasta_fn|fasta_id|pdb_fn|chain|residue_range|pdb_offset|bead_size|em_residues_per_gaussian|rigid_body|super_rigid_body|chain_of_super_rigid_bodies|
32|Rpb4 |red |1WCM.fasta |1WCM:D |1WCM_fitted.pdb |D|1,END |0 |5|0 |1 | | ||
33|Rpb7 |gold |1WCM.fasta |1WCM:G |1WCM_fitted.pdb |G|1,END |0 |5|0 |2 | | ||
38tf = tempfile.NamedTemporaryFile(delete=
False, mode=
'w')
54hier, dof = bs.execute_macro()
63moldict = bs.get_molecules()[0]
65for molname
in moldict:
66 for mol
in moldict[molname]:
69 output_objects.append(cr)
75 included_objects=mols)
77output_objects.append(evr)
86 hier, selection=(
'Rpb7', 38, 44,
'Rpb4'), label=
'B38_44')
90output_objects.append(br)
98 molecule=
"Rpb4").get_selected_particles()
100xyzs, rbs = dof.disable_movers(part_p1,
108dof.optimize_flexible_beads(100)
113 monte_carlo_sample_objects=dof.get_movers(),
114 global_output_directory=
'output/',
115 output_objects=output_objects,
116 monte_carlo_steps=10,
117 number_of_best_scoring_models=0,
118 number_of_frames=500)
Class for storing model, its restraints, constraints, and particles.
Select hierarchy particles identified by the biological name.
Modify the transformation of a rigid body.
A macro to build a IMP.pmi.topology.System based on a TopologyReader object.
A macro to help setup and run replica exchange.
Keeps all structures inside a sphere.
Restrain residue/residues to bind to unknown location in a target.
Create a restraint between consecutive TempResidue objects or an entire PMI Molecule object.
A class to create an excluded volume restraint for a set of particles at a given resolution.
Automatically setup System and Degrees of Freedom with a formatted text file.
Functionality for loading, creating, manipulating and scoring atomic structures.
Create movers and set up constraints for PMI objects.
Protocols for sampling structures and analyzing them.
Some miscellaneous simple restraints.
Restraints for keeping correct stereochemistry.
Classes to handle different kinds of restraints.
Set of Python classes to create a multi-state, multi-resolution IMP hierarchy.
Python classes to represent, score, sample and analyze models.
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
Support for the RMF file format for storing hierarchical molecular data and markup.
void setup_from_argv(int argc, char **argv, std::string description)
Parse the command line flags and return the positional arguments.
CheckLevel get_check_level()
Get the current audit mode.