IMP logo
IMP Reference Guide  develop.7482b7c7af, 2026/12/05
The Integrative Modeling Platform
IMP::score_functor::Soap Class Reference

Score pairs of atoms based on SOAP. More...

#include <IMP/score_functor/Soap.h>

Inheritance diagram for IMP::score_functor::Soap:

Detailed Description

Score pairs of atoms based on SOAP.

This is a simple pairwise atomistic statistical potential. For more details, see Optimized atomic statistical potentials: Assessment of protein interfaces and loops. Dong GQ, Fan H, Schneidman-Duhovny D, Webb B, Sali A. Bioinformatics. 2013

Note
This potential is independent of the orientation of the pairs of particles. Use OrientedSoap instead for a score that takes orientation into account.

You need to use IMP::atom::add_dope_score_data() to add the requisite atom type data to the particles being scored.

Definition at line 33 of file Soap.h.

Public Member Functions

 Soap (double threshold, TextInput data_file)
 Set up SOAP using an arbitrary potential file.
 Soap (double threshold=std::numeric_limits< double >::max())
 Set up using the default SOAP-PP potential file.
Public Member Functions inherited from IMP::score_functor::Statistical< DopeType, false, false >
 Statistical (IntKey k, double threshold, TextInput data_file)
 Statistical (IntKey k, double threshold, TextInput data_file, unsigned int shift)
bool get_is_bipartite () const
bool get_is_interpolated () const
bool get_is_trivially_zero (Model *m, const ParticleIndexPair &p, double squared_distance) const
double get_max () const
double get_maximum_range (Model *, const ParticleIndexPair &) const
IntPair get_number_of_particle_types () const
double get_offset () const
double get_score (Model *m, const ParticleIndexPair &pp, double distance) const
DerivativePair get_score_and_derivative (Model *m, const Array< 2, ParticleIndex > &pp, double distance) const
Floats get_second_derivatives (unsigned int i, unsigned int j) const
double get_spacing () const
double get_threshold () const
Floats get_values (unsigned int i, unsigned int j) const
Public Member Functions inherited from IMP::score_functor::Score
ModelObjectsTemp get_inputs (Model *m, const ParticleIndexes &pis) const
template<unsigned int D>
bool get_is_trivially_zero (Model *m, const Array< D, ParticleIndex > &p, double squared_distance) const
template<unsigned int D>
double get_maximum_range (Model *m, const Array< D, ParticleIndex > &p) const
template<unsigned int D>
double get_score (Model *m, const Array< D, ParticleIndex > &p, double distance) const
 Return the score at the passed feature size (eg distance).
template<unsigned int D>
DerivativePair get_score_and_derivative (Model *m, const Array< D, ParticleIndex > &p, double distance) const
 Return the score and derivative at the passed feature size (eg distance).
void show (std::ostream &) const

Static Public Member Functions

static IntKey get_soap_type_key ()

Constructor & Destructor Documentation

◆ Soap() [1/2]

IMP::score_functor::Soap::Soap ( double threshold = std::numeric_limits<double>::max())

Set up using the default SOAP-PP potential file.

This uses soap_score.lib, which is the pairwise part of the SOAP-PP score (see https://salilab.org/SOAP/). This is designed for ranking docking solutions. The score should be applied to pairs of atoms from the two docked proteins.

Note
The full SOAP-PP score also includes a surface accessibility term, which can be applied using SingletonStatistical (but this is unnecessary for simple ranking of solutions).

Definition at line 47 of file Soap.h.

Here is the call graph for this function:

◆ Soap() [2/2]

IMP::score_functor::Soap::Soap ( double threshold,
TextInput data_file )

Set up SOAP using an arbitrary potential file.

Definition at line 51 of file Soap.h.

Member Function Documentation

◆ get_soap_type_key()

IntKey IMP::score_functor::Soap::get_soap_type_key ( )
static

Definition at line 54 of file Soap.h.


The documentation for this class was generated from the following file: