Rosetta
|
A class to hold data structures and functions shared by filters that check whether the amino acids and atoms they require in the constellation are indeed present. More...
#include <Primitives.hh>
Static Public Member Functions | |
static bool | are_aa_pres (core::pose::Pose const &ps, utility::vector1< core::Size > const &cnl, utility::vector1< core::chemical::AA > const &aa_typs, utility::vector1< core::Size > &aa_idxs) |
Records the presence of given amino acid types in a given constellation. More... | |
static bool | are_atoms_pres (core::conformation::Residue const &res, utility::vector1< std::string > const &anams, utility::vector1< core::Size > &aidxs) |
Records the presence of given atoms in a given residue. More... | |
A class to hold data structures and functions shared by filters that check whether the amino acids and atoms they require in the constellation are indeed present.
|
static |
Records the presence of given amino acid types in a given constellation.
[in] | ps | a pose containing a target constellation. |
[in] | cnl | indexes in 'ps' of the residues contributing to the constellation. |
[in] | aa_typs | desired amino acid types for the residues contributing to the constellation. |
[out] | aa_idxs | vector that will map the desired amino acid types to the residue indexes in 'cnl'. |
References core::pose::Pose::aa(), and core::chemical::element::N.
Referenced by protocols::constel::FilterByIndoleCOO::is_satisfied(), protocols::constel::FilterByTryptamine::is_satisfied(), protocols::constel::FilterByAmphetamine::is_satisfied(), and protocols::constel::FilterByHistamine::is_satisfied().
|
static |
Records the presence of given atoms in a given residue.
[in] | res | a residue. |
[in] | anams | vector of atom names to be found in the residue. |
[out] | aidxs | vector that will map the desired atom names to their indexes in the residue. |
References core::conformation::Residue::atom_index(), core::conformation::Residue::has(), and core::chemical::element::N.
Referenced by protocols::constel::FilterByIndoleCOO::is_satisfied(), protocols::constel::FilterByTryptamine::is_satisfied(), and protocols::constel::FilterByAmphetamine::is_satisfied().