2"""Clone molecules and use a symmetry constraint
24mol = st.create_molecule(
"mymol", sequence=
'A'*10, chain_id=
'A')
25mol.add_representation(mol, resolutions=[1])
35 clone = mol.create_clone(chains[nc])
50 dof.constrain_symmetry(mols[0], mols[nc+1], transform)
57dof.create_flexible_beads(mols[0])
65 included_objects=mols)
69dof.optimize_flexible_beads(100)
73out.init_rmf(
"example_symmetry.rmf3", hierarchies=[hier])
74out.write_rmf(
"example_symmetry.rmf3")
Class for storing model, its restraints, constraints, and particles.
Simplify creation of constraints and movers for an IMP Hierarchy.
Class for easy writing of PDBs, RMFs, and stat files.
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.
Represent the root node of the global IMP.atom.Hierarchy.
Rotation3D get_rotation_about_axis(const Vector3D &axis, double angle)
Generate a Rotation3D object from a rotation around an axis.
Transformation2D get_rotation_about_point(const Vector2D &point, const Rotation2D &rotation)
Generate a Transformation2D object from a rotation around a point.
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.
Restraints for keeping correct stereochemistry.
Set of Python classes to create a multi-state, multi-resolution IMP hierarchy.
Python classes to represent, score, sample and analyze models.
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.