IMP logo
IMP Reference Guide  2.18.0
The Integrative Modeling Platform
DopePairScore.h
Go to the documentation of this file.
1 /**
2  * \file IMP/atom/DopePairScore.h
3  * \brief Dope scoring
4  *
5  * Copyright 2007-2022 IMP Inventors. All rights reserved.
6  *
7  */
8 
9 #ifndef IMPATOM_DOPE_PAIR_SCORE_H
10 #define IMPATOM_DOPE_PAIR_SCORE_H
11 
12 #include <IMP/atom/atom_config.h>
13 #include "Hierarchy.h"
14 #include <IMP/score_functor/Dope.h>
17 
18 IMPATOM_BEGIN_NAMESPACE
19 
20 /** \name Dope scoring
21 
22  \imp provides the DOPE scoring function for scoring proteins.
23 
24  \note These are quite large objects as they store the whole
25  DOPE lookup table. It is much better to share them between
26  restraints than to create separate instances.
27 
28  */
29 class DopePairScore;
30 typedef score_functor::DopeType DopeType;
31 
32 //! Score pair of atoms based on DOPE.
33 /** See M.-y. Shen and A. Sali. Statistical potential for assessment and
34  prediction of protein structures. Protein Science 15, 2507–2524, 2006.
35 */
37  : public score_functor::DistancePairScore<score_functor::Dope> {
39 
40  public:
41  DopePairScore(double threshold = std::numeric_limits<double>::max())
42  : P(score_functor::Dope(threshold)) {}
43  DopePairScore(double threshold, TextInput data_file)
44  : P(score_functor::Dope(threshold, data_file)) {}
45 };
46 
47 /** Add the dope atom types to the atoms in the hierarchy.
48  */
49 IMPATOMEXPORT void add_dope_score_data(atom::Hierarchy h);
50 
51 /** @} */
52 IMPATOM_END_NAMESPACE
53 
54 #endif /* IMPATOM_DOPE_PAIR_SCORE_H */
A Score on the distance between a pair of particles.
A Score on the distance between a pair of particles.
Create efficient distance-based pair scores.
Decorator for helping deal with a hierarchy of molecules.
The standard decorator for manipulating molecular structures.
void add_dope_score_data(atom::Hierarchy h)
Score pair of atoms based on DOPE.
Definition: Dope.h:32
Score pair of atoms based on DOPE.
Definition: DopePairScore.h:36
Functions to read mol2s.