12def create_representation():
39print(
"creating representation")
40(m, prot) = create_representation()
42print(
"creating DOPE score function")
46print(
"DOPE SCORE ::", d.evaluate(
False))
Class for storing model, its restraints, constraints, and particles.
static bool get_is_setup(const IMP::ParticleAdaptor &p)
Score pair of atoms based on DOPE.
Hierarchies get_by_type(Hierarchy mhd, GetByType t)
Gather all the molecular particles of a certain level in the hierarchy.
Select non water and non hydrogen atoms.
Return all close unordered pairs of particles taken from the SingletonContainer.
Applies a PairScore to each Pair in a list.
Functionality for loading, creating, manipulating and scoring atomic structures.
void add_dope_score_data(atom::Hierarchy h)
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.
Various classes to hold sets of particles.
void set_check_level(CheckLevel tf)
Control runtime checks in the code.
void setup_from_argv(int argc, char **argv, std::string description)
Parse the command line flags and return the positional arguments.