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,
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,
List of reference atom-atom distances to detect clashes between non-bonded atoms.
List of stereo chemical parameters (Bonds and angles)
std::vector< lDDTLocalScore > GetLocalScores()
int GetNumTotalContacts()
std::vector< EntityView > references_view
lDDTScorer(std::vector< EntityView > &init_references, ost::mol::EntityView &init_model, lDDTSettings &init_settings)
int GetNumConservedContacts()
void PrintPerResidueStats()
GlobalRDMap glob_dist_list
std::vector< EntityView > GetReferences()
representation of a multiple sequence alignemnt consisting of two or more sequences
#define DLLEXPORT_OST_MOL_ALG
void DLLEXPORT_OST_MOL_ALG PrintResidueRDMap(const ResidueRDMap &res_dist_list)
Prints all distances in a residue distance list to standard output.
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.
void DLLEXPORT_OST_MOL_ALG CleanlDDTReferences(std::vector< EntityView > &ref_list)
std::map< ost::mol::ResNum, ResidueRDMap > GlobalRDMap
Global distance list.
void DLLEXPORT_OST_MOL_ALG CheckStructure(EntityView &ent, StereoChemicalParams &bond_table, StereoChemicalParams &angle_table, ClashingDistances &nonbonded_table, Real bond_tolerance, Real angle_tolerance)
GlobalRDMap DLLEXPORT_OST_MOL_ALG PreparelDDTGlobalRDMap(const std::vector< EntityView > &ref_list, std::vector< Real > &cutoff_list, int sequence_separation, Real max_dist)
bool DLLEXPORT_OST_MOL_ALG IsStandardResidue(String rn)
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.
void DLLEXPORT_OST_MOL_ALG PrintGlobalRDMap(const GlobalRDMap &glob_dist_list)
Prints all distances in a global distance list to standard output.
void DLLEXPORT_OST_MOL_ALG PrintlDDTPerResidueStats(std::vector< lDDTLocalScore > &scores, bool structural_checks, int cutoffs_length)
bool DLLEXPORT_OST_MOL_ALG IsResnumInGlobalRDMap(const ResNum &resnum, const GlobalRDMap &glob_dist_list)
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.
std::pair< int, int > DLLEXPORT_OST_MOL_ALG ComputeCoverage(const EntityView &v, const GlobalRDMap &glob_dist_list)
std::vector< lDDTLocalScore > DLLEXPORT_OST_MOL_ALG GetlDDTPerResidueStats(EntityView &model, GlobalRDMap &glob_dist_list, bool structural_checks, String label)
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...
std::map< std::pair< UniqueAtomIdentifier, UniqueAtomIdentifier >, std::pair< Real, Real > > ResidueRDMap
Residue distance list.
ost::mol::alg::ClashingDistances nonbonded_table
StereoChemicalProps(ost::mol::alg::StereoChemicalParams &init_bond_table, ost::mol::alg::StereoChemicalParams &init_angle_table, ost::mol::alg::ClashingDistances &init_nonbonded_table)
ost::mol::alg::StereoChemicalParams bond_table
ost::mol::alg::StereoChemicalParams angle_table
lDDTLocalScore(String init_cname, String init_rname, int init_rnum, String init_is_assessed, String init_quality_problems, Real init_local_lddt, int init_conserved_dist, int init_total_dist)
String ToString(bool structural_checks) const
static String GetHeader(bool structural_checks, int cutoffs_length)
std::vector< Real > cutoffs
lDDTSettings(Real init_radius, int init_sequence_separation, std::vector< Real > &init_cutoffs, String init_label)