34 atom_type=IMP.atom.AT_CA)
37for p
in r8.get_selected_particles():
Class for storing model, its restraints, constraints, and particles.
static Hierarchy setup_particle(Model *m, ParticleIndex pi, ParticleIndexesAdaptor children=ParticleIndexesAdaptor())
Create a Hierarchy of level t by adding the needed attributes.
Select hierarchy particles identified by the biological name.
static State setup_particle(Model *m, ParticleIndex pi, unsigned int index)
Functionality for loading, creating, manipulating and scoring atomic structures.
int get_state_index(Hierarchy h)
Walk up the hierarchy to find the current state.
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
Hierarchy read_pdb(TextInput input, Model *model, PDBSelector *selector=get_default_pdb_selector(), bool select_first_model=true)
Read all the molecules in the first model of the PDB file.
void setup_from_argv(int argc, char **argv, std::string description)
Parse the command line flags and return the positional arguments.