2"""This script demonstrates a few different ways you can perform selection
4 In PMI we first set up molecules at various resolutions.
5 Then you call System.build() and this creates all requested representations.
30mol = st.create_molecule(
"Rpb4", seqs[
"1WCM:D"], chain_id=
"D")
41myres2 = mol.residue_range(
'1',
'10')
49atomic = mol.get_atomic_residues()
50non_atomic = mol.get_non_atomic_residues()
54myres3 = mol[0:50] - atomic
55myres4 = mol[0:50] & atomic
58mol.add_representation(
62mol.add_representation(myres4,
86dof.create_rigid_body(mol, nonrigid_parts=non_atomic,
94 residue_indexes=range(1, 10))
95particles = sel.get_selected_particles()
99all_mol_copies = st.molecules[
"Rpb4"]
100mol = all_mol_copies[0]
Class for storing model, its restraints, constraints, and particles.
Select hierarchy particles identified by the biological name.
Simplify creation of constraints and movers for an IMP Hierarchy.
Create a restraint between consecutive TempResidue objects or an entire PMI Molecule object.
A dictionary-like wrapper for reading and storing sequence data.
Represent the root node of the global IMP.atom.Hierarchy.
Functionality for loading, creating, manipulating and scoring atomic structures.
void show_with_representations(Hierarchy h, std::ostream &out=std::cout)
Traverse through the tree and show atom info, including representations.
Create movers and set up constraints for PMI objects.
Protocols for sampling structures and analyzing them.
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.