IMP  2.3.0
The Integrative Modeling Platform
OrientedSoapPairScore.h
Go to the documentation of this file.
1 /**
2  * \file IMP/atom/OrientedSoapPairScore.h
3  * \brief Orientation-dependent SOAP scoring
4  *
5  * Copyright 2007-2014 IMP Inventors. All rights reserved.
6  *
7  */
8 
9 #ifndef IMPATOM_ORIENTED_SOAP_PAIR_SCORE_H
10 #define IMPATOM_ORIENTED_SOAP_PAIR_SCORE_H
11 
12 #include <IMP/atom/atom_config.h>
15 
16 IMPATOM_BEGIN_NAMESPACE
17 
18 //! Score a pair of atoms using an orientation-dependent SOAP score.
19 /** Orientation-dependent SOAP scores include those that score loops
20  (SOAP-Loop), protein-peptide interfaces (SOAP-Peptide) and proteins
21  (SOAP-Protein). The library files themselves, such as soap_loop.hdf5 or
22  soap_protein_od.hdf5, are rather large (~1.5GB) and so are not included
23  here. They can be downloaded separately from http://salilab.org/SOAP/.
24 */
26  : public score_functor::DistancePairScore<score_functor::OrientedSoap> {
28  std::string library_;
29 
30  public:
31  OrientedSoapPairScore(std::string library)
32  : P(score_functor::OrientedSoap(library)), library_(library) {}
33 
34  //! Get a filter that returns pairs that this score should use
35  SoapPairFilter *get_pair_filter() { return new SoapPairFilter(library_); }
36 };
37 
38 IMPATOM_END_NAMESPACE
39 
40 #endif /* IMPATOM_ORIENTED_SOAP_PAIR_SCORE_H */
Orientation-dependent SOAP score.
Definition: OrientedSoap.h:28
Score a particle pair using an orientation-dependent SOAP potential.
Create efficient distance-based pair scores.
Filter atom pairs for SOAP.
PairFilter for SOAP.
SoapPairFilter * get_pair_filter()
Get a filter that returns pairs that this score should use.
Score a pair of atoms using an orientation-dependent SOAP score.