IMP logo
IMP Reference Guide  develop.7482b7c7af, 2026/12/05
The Integrative Modeling Platform
dihedrals.h
Go to the documentation of this file.
1/**
2 * \file IMP/atom/dihedrals.h
3 * \brief Helpers to extract dihedral information.
4 *
5 * Copyright 2007-2022 IMP Inventors. All rights reserved.
6 *
7 */
8
9#ifndef IMPATOM_DIHEDRALS_H
10#define IMPATOM_DIHEDRALS_H
11
12#include <IMP/atom/atom_config.h>
13#include "Atom.h"
14#include "Residue.h"
15
16IMPATOM_BEGIN_NAMESPACE
17
18//IMP_BUILTIN_VALUES(AtomTypes, AtomTypesList);
19
20//! Return the atoms comprising the phi dihedral.
21/** If all atoms cannot be found, an empty list is returned.
22 \see Residue */
23IMPATOMEXPORT Atoms get_phi_dihedral_atoms(Residue rd);
24
25//! Return the atoms comprising the psi dihedral.
26/** If all atoms cannot be found, an empty list is returned.
27 \see Residue */
28IMPATOMEXPORT Atoms get_psi_dihedral_atoms(Residue rd);
29
30//! Return the atoms comprising the omega dihedral.
31/** If all atoms cannot be found, an empty list is returned.
32 \see Residue */
33IMPATOMEXPORT Atoms get_omega_dihedral_atoms(Residue rd);
34
35//! Return a list of lists of atom types comprising the chi dihedrals
36//! for residue type rd.
37/** An empty list in a list is returned for residues with no chi dihedrals
38 \see Residue */
39IMPATOMEXPORT Vector<AtomTypes> get_chi_dihedral_atom_types(ResidueType rt);
40
41//! Return a list of lists of atoms comprising the chi dihedrals
42//! for residue rd.
43/** An empty list in a list is returned for residues with no chi dihedrals
44 \see Residue */
46
47//! Return a list of lists of ParticleIndexQuads comprising the chi dihedrals
48//! for residue rd.
49//! This datatype is exportable to Python.
51
52IMPATOM_END_NAMESPACE
53
54#endif /* IMPATOM_DIHEDRALS_H */
Simple atom decorator.
A decorator for Residues.
A more IMP-like version of the std::vector.
Definition Vector.h:60
A decorator for a residue.
Definition Residue.h:137
Vector< Atoms > get_chi_dihedral_atoms(Residue rd)
Atoms get_psi_dihedral_atoms(Residue rd)
Return the atoms comprising the psi dihedral.
ParticleIndexQuads get_chi_dihedral_particle_indexes(Residue rd)
Atoms get_omega_dihedral_atoms(Residue rd)
Return the atoms comprising the omega dihedral.
Atoms get_phi_dihedral_atoms(Residue rd)
Return the atoms comprising the phi dihedral.
Vector< AtomTypes > get_chi_dihedral_atom_types(ResidueType rt)
IMP::Vector< ParticleIndexQuad, std::allocator< ParticleIndexQuad > > ParticleIndexQuads
Definition base_types.h:210