19 #ifndef OST_MOL_ALG_LOCAL_DIST_TEST_HH
20 #define OST_MOL_ALG_LOCAL_DIST_TEST_HH
28 namespace ost {
namespace mol {
namespace alg {
51 int init_sequence_separation,
52 std::vector<Real>& init_cutoffs,
74 String init_quality_problems,
76 int init_conserved_dist,
93 lDDTScorer(std::vector<EntityView>& init_references,
105 bool _score_calculated;
107 bool _has_local_scores;
113 std::vector<lDDTLocalScore> _local_scores;
115 void _GetLocallDDT();
116 void _PrepareGlobalRDMap();
146 std::vector<Real> cutoff_list,
int sequence_separation = 0,
147 const String& local_ldt_property_string=
"");
170 const String& local_ldt_property_string=
"");
173 std::vector<EntityView>& ref_list,
189 int ref_index=0,
int mdl_index=1);
243 const std::vector<EntityView>& ref_list,
244 std::vector<Real>& cutoff_list,
245 int sequence_separation,
253 Real angle_tolerance);
257 bool structural_checks,
261 bool structural_checks,
bool DLLEXPORT_OST_MOL_ALG IsStandardResidue(String rn)
GlobalRDMap DLLEXPORT_OST_MOL_ALG CreateDistanceList(const EntityView &ref, Real max_dist)
Creates a list of distances to check during a Local Difference Distance Test.
std::pair< long int, long int > DLLEXPORT_OST_MOL_ALG LocalDistDiffTest(const EntityView &mdl, const GlobalRDMap &dist_list, std::vector< Real > cutoff_list, int sequence_separation=0, const String &local_ldt_property_string="")
Calculates number of distances conserved in a model, given a list of distances to check and a model...
#define DLLEXPORT_OST_MOL_ALG
bool DLLEXPORT_OST_MOL_ALG IsResnumInGlobalRDMap(const ResNum &resnum, const GlobalRDMap &glob_dist_list)
GlobalRDMap DLLEXPORT_OST_MOL_ALG PreparelDDTGlobalRDMap(const std::vector< EntityView > &ref_list, std::vector< Real > &cutoff_list, int sequence_separation, Real max_dist)
std::map< std::pair< UniqueAtomIdentifier, UniqueAtomIdentifier >, std::pair< Real, Real > > ResidueRDMap
Residue distance list.
void DLLEXPORT_OST_MOL_ALG PrintlDDTPerResidueStats(std::vector< lDDTLocalScore > &scores, bool structural_checks, int cutoffs_length)
std::vector< lDDTLocalScore > DLLEXPORT_OST_MOL_ALG GetlDDTPerResidueStats(EntityView &model, GlobalRDMap &glob_dist_list, bool structural_checks, String label)
std::pair< int, int > DLLEXPORT_OST_MOL_ALG ComputeCoverage(const EntityView &v, const GlobalRDMap &glob_dist_list)
std::vector< EntityView > GetReferences()
int GetNumTotalContacts()
ost::mol::alg::ClashingDistances nonbonded_table
void DLLEXPORT_OST_MOL_ALG CleanlDDTReferences(std::vector< EntityView > &ref_list)
GlobalRDMap glob_dist_list
std::map< ost::mol::ResNum, ResidueRDMap > GlobalRDMap
Global distance list.
GlobalRDMap DLLEXPORT_OST_MOL_ALG CreateDistanceListFromMultipleReferences(const std::vector< EntityView > &ref_list, std::vector< Real > &cutoff_list, int sequence_separation, Real max_dist)
Creates a list of distances to check during a Local Difference Distance Test starting from multiple r...
void PrintPerResidueStats()
ost::mol::alg::StereoChemicalParams bond_table
ost::mol::alg::StereoChemicalParams angle_table
static String GetHeader(bool structural_checks, int cutoffs_length)
std::vector< EntityView > references_view
lDDTScorer(std::vector< EntityView > &init_references, ost::mol::EntityView &init_model, lDDTSettings &init_settings)
Real DLLEXPORT_OST_MOL_ALG LDDTHA(EntityView &v, const GlobalRDMap &global_dist_list, int sequence_separation=0)
Computes the Local Distance Difference High-Accuracy Test given a list of distances to check...
List of stereo chemical parameters (Bonds and angles)
std::vector< Real > cutoffs
int GetNumConservedContacts()
representation of a multiple sequence alignemnt consisting of two or more sequences ...
void DLLEXPORT_OST_MOL_ALG CheckStructure(EntityView &ent, StereoChemicalParams &bond_table, StereoChemicalParams &angle_table, ClashingDistances &nonbonded_table, Real bond_tolerance, Real angle_tolerance)
String ToString(bool structural_checks) const
void DLLEXPORT_OST_MOL_ALG PrintResidueRDMap(const ResidueRDMap &res_dist_list)
Prints all distances in a residue distance list to standard output.
List of reference atom-atom distances to detect clashes between non-bonded atoms. ...
std::vector< lDDTLocalScore > GetLocalScores()
void DLLEXPORT_OST_MOL_ALG PrintGlobalRDMap(const GlobalRDMap &glob_dist_list)
Prints all distances in a global distance list to standard output.