4 from __future__
import print_function
12 def create_representation():
20 def add_dope(m, prot):
29 dpc.add_pair_filter(f)
36 print(
"creating representation")
37 (m, prot) = create_representation()
39 print(
"creating DOPE score function")
43 print(
"DOPE SCORE ::", d.evaluate(
False))
Select non water and non hydrogen atoms.
static bool get_is_setup(const IMP::ParticleAdaptor &p)
Strings setup_from_argv(const Strings &argv, std::string description, std::string positional_description, int num_positional)
Various classes to hold sets of particles.
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
Return all close unordered pairs of particles taken from the SingletonContainer.
void read_pdb(TextInput input, int model, Hierarchy h)
Class for storing model, its restraints, constraints, and particles.
Hierarchies get_by_type(Hierarchy mhd, GetByType t)
Gather all the molecular particles of a certain level in the hierarchy.
void add_dope_score_data(atom::Hierarchy h)
Functionality for loading, creating, manipulating and scoring atomic structures.
Applies a PairScore to each Pair in a list.
void set_check_level(CheckLevel tf)
Control runtime checks in the code.