![]() |
Rosetta
2021.16
|
#include <ConstraintIO.hh>

Static Public Member Functions | |
| static ConstraintSetOP | read_constraints (std::string const &filename, ConstraintSetOP cst_set, pose::Pose const &pose, bool const force_pdb_info_mapping=false) |
| static ConstraintSetOP | read_constraints (std::istream &data, ConstraintSetOP cst_set, pose::Pose const &pose, bool const force_pdb_info_mapping=false) |
| static void | write_constraints (std::ostream &, ConstraintSet const &cst_set, core::pose::Pose const &) |
| static void | write_constraints (std::string const &filename, ConstraintSet const &cst_set, core::pose::Pose const &) |
| static func::FuncFactory & | get_func_factory () |
| static ConstraintFactory & | get_cst_factory () |
| static ConstraintOP | parse_atom_pair_constraint (std::istream &data, core::pose::Pose pose, bool const force_pdb_info_mapping=false) |
| static ConstraintSetOP | read_constraints_new (std::string const &fname, ConstraintSetOP cset, pose::Pose const &pose, bool const force_pdb_info_mapping=false) |
| static ConstraintSetOP | read_constraints_new (std::istream &data, ConstraintSetOP cset, pose::Pose const &pose, bool const force_pdb_info_mapping=false) |
| static ConstraintOP | read_individual_constraint_new (std::istream &data, core::pose::Pose const &pose, func::FuncFactory const &func_factory, bool const force_pdb_info_mapping=false) |
| read one individual constraint defined. More... | |
| static ConstraintOP | read_individual_constraint_new (std::istream &data, core::pose::Pose const &pose, func::FuncFactory const &func_factory, std::string type, bool const force_pdb_info_mapping=false) |
| read one individual constraint defined. More... | |
| static ConstraintOP | parse_coordinate_constraint (std::istream &data, core::pose::Pose pose, bool const force_pdb_info_mapping=false) |
| static void | parse_residue (pose::Pose const &pose, std::string const &residue_string, Size &residue_num, bool const force_pdb_info_mapping=false) |
| static Size | parse_residue (pose::Pose const &pose, int const resnum, char const chain=0, bool const force_pdb_info_numbering=false) |
Static Protected Member Functions | |
| static void | read_cst_bindingsites (std::istream &data, std::string &next_section, ConstraintSet &, pose::Pose const &, bool const force_pdb_info_mapping=false) |
| static void | read_cst_atom_pairs (std::istream &data, std::string &next_section, ConstraintSet &, pose::Pose const &, bool const force_pdb_info_mapping=false) |
| static void | read_cst_coordinates (std::istream &data, std::string &next_section, ConstraintSet &, pose::Pose const &, bool const force_pdb_info_mapping=false) |
| static void | read_cst_angles (std::istream &data, std::string &next_section, ConstraintSet &, pose::Pose const &, bool const force_pdb_info_mapping=false) |
Private Member Functions | |
| ConstraintIO () | |
Private Attributes | |
| func::FuncFactory | func_factory_ |
Friends | |
| class | utility::SingletonBase< ConstraintIO > |
|
inlineprivate |
|
static |
Referenced by read_individual_constraint_new().
|
static |
|
static |
|
static |
|
static |
Referenced by parse_atom_pair_constraint(), parse_coordinate_constraint(), read_cst_angles(), read_cst_atom_pairs(), read_cst_coordinates(), core::scoring::constraints::DistancePairConstraint::read_def(), core::scoring::constraints::DihedralPairConstraint::read_def(), core::scoring::constraints::DihedralConstraint::read_def(), core::scoring::constraints::SiteConstraint::read_def(), core::scoring::constraints::AngleConstraint::read_def(), core::scoring::constraints::BasePairConstraint::read_def(), core::scoring::constraints::NamedAngleConstraint::read_def(), core::scoring::constraints::NamedDihedralConstraint::read_def(), core::scoring::constraints::AmbiguousNMRDistanceConstraint::read_def(), core::scoring::constraints::LocalCoordinateConstraint::read_def(), core::scoring::constraints::CoordinateConstraint::read_def(), core::scoring::constraints::NamedAtomPairConstraint::read_def(), and core::scoring::constraints::AtomPairConstraint::read_def().
|
static |
a value of 0 for the chain means to ignore PDBInfo settings, and treat the resnum as Rosetta/Pose numbering.
References core::pose::full_model_info::const_full_model_info(), core::pose::full_model_info::full_model_info_defined(), core::pose::full_model_info::FullModelInfo::full_to_sub(), core::pose::Pose::pdb_info(), core::pose::Pose::size(), core::id::to_string(), and core::scoring::constraints::tr().
|
static |
All the heavy lifting is done by read_constraints( istream &, ConstraintSetOP, Pose const & ), or by read_constraints_new( istream &, ConstraintSetOP, Pose const & ), but the logic for deciding which of two execution paths to follow that lives inside read_constraints( isteam &, ... ) will not work if given an izstream constructed from a zipped file. SO instead, we check the file format of the input constraint file here and then rewind to the beginning of the file using the izstream seek_beg() function.
References core::scoring::constraints::get_section_name(), read_constraints_new(), protocols::sparta::section(), and core::scoring::constraints::tr().
Referenced by protocols::ddg::ddGMover::setup_constraints().
|
static |
|
static |
read in constraints with new format from a file
References core::scoring::constraints::tr().
Referenced by read_constraints().
|
static |
|
staticprotected |
|
staticprotected |
|
staticprotected |
References core::scoring::constraints::ConstraintSet::add_constraint(), get_func_factory(), and core::scoring::constraints::tr().
Referenced by read_constraints().
|
staticprotected |
|
static |
read one individual constraint defined.
read in each individual constraint. The constraints could be single-line ones such as AtomPair, Angle and Diehedral, or multi-line ones such as Multiconstraint and Ambiguous. Return owing pointer of the constraint if read in successfully, otherwise return NULL. Identify the type of constraint and call each constraint's read_def function to finish reading. Skip lines beginning with '#' or '
' May be called recursively in the case of Multiconstraint and AmbiguousConstraint.
References core::pack::dunbrack::c, and core::scoring::constraints::tr().
Referenced by protocols::constraint_movers::CstInfoMover::get_constraints_from_file(), read_constraints_new(), core::scoring::constraints::AmbiguousConstraint::read_def(), and core::scoring::constraints::KofNConstraint::read_def().
|
static |
read one individual constraint defined.
References get_cst_factory(), core::scoring::constraints::ConstraintFactory::newConstraint(), and core::scoring::constraints::tr().
|
static |
References core::scoring::constraints::ConstraintSet::show_definition().
Referenced by write_constraints().
|
static |
References write_constraints().
|
friend |
|
private |
1.8.7