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

Public Types | |
| typedef std::pair< core::Size, core::Size > | SizePair |
| typedef OutputWriter | Parent |
Public Member Functions | |
| PDBWriter () | |
| ~PDBWriter () override | |
| void | prepare_for_output_writing () override |
| void | record_match (match const &m, MatchEvaluatorOP evaluator, MatchScoreWriterOP match_score_writer) override |
| void | record_match (match_dspos1 const &m) override |
| evaluator and score writer are not passed in because single-downstream-position match currently have no way of being evaluated More... | |
| void | set_coordinate_cacher (UpstreamHitCacherOP) |
| void | set_prefix (std::string const &prefix) |
| void | initialize_from_matcher_task (MatcherTaskCOP mtask) override |
| void | set_downstream_builder (core::Size geomcst_id, downstream::DownstreamBuilderCOP dsbuilder) |
| void | assemble_remark_lines (core::pose::Pose &outpose, utility::vector1< core::conformation::ResidueCOP > const &upstream_matchres, std::map< core::Size, core::Size > const &redundant_upstream_res, utility::vector1< core::Size > const &ex_geom_ids_for_upstream_res) const |
| core::pose::PoseCOP | create_output_upstream_pose (utility::vector1< core::conformation::ResidueCOP > const &upstream_matchres, std::map< core::Size, core::Size > const &redundant_upstream_res, utility::vector1< core::Size > const &ex_geom_ids_for_upstream_res) |
| std::string | signature_string (utility::vector1< core::conformation::ResidueCOP > const &upstream_matchres) const |
| core::Size | num_geom_cst () const |
| std::string | scaf_name () const |
| std::string | cstfile_name () const |
| std::string | prefix () const |
Public Member Functions inherited from protocols::match::output::OutputWriter | |
| OutputWriter () | |
| ~OutputWriter () override | |
| protocols::toolbox::match_enzdes_util::EnzConstraintIOCOP | cst_io () const |
| void | determine_redundant_upstream_matchres (match_dspos1 const &m, std::map< core::Size, core::Size > &redundant_upstream_res) const |
| determine if any upstream res are at the same scaffold position, i.e. if one of them is a backbone interaction the redundant_upstream_res map is a mapping from the redundant geometric constraint id of the redundant residue to the geomcst_id of the "nonredundant" res i.e. if cstres 1 happens to be a cys at position 10 and cstres 3 is a gly at position 10 (and it's backbone is used in satisfying constraint 3), the mapping will contain the 3,1 pair. More... | |
| virtual void | end_output_writing () |
Protected Member Functions | |
| UpstreamHitCacherOP | coordinate_cacher () |
| utility::vector1 < downstream::DownstreamBuilderCOP > const & | dsbuilders () |
| std::string | assemble_outtag (utility::vector1< core::conformation::ResidueCOP > const &upstream_matchres) |
Private Attributes | |
| UpstreamHitCacherOP | coordinate_cacher_ |
| bool | write_matchres_only_ |
| std::string | scaf_name_ |
| std::string | cstfile_name_ |
| std::string | prefix_ |
| core::Size | num_written_ |
| core::Size | num_geom_cst_ |
| utility::vector1 < downstream::DownstreamBuilderCOP > | dsbuilders_ |
| core::pose::PoseCOP | orig_upstream_pose_ |
| core::pose::PoseCOP | downstream_pose_from_task_ |
| std::map< std::string, SizePair > | signature_map_ |
| utility::vector1< bool > | output_dsgeom_for_geomcst_ |
| std::map< core::Size, core::Size > | upstream_only_geom_cst_ |
| typedef std::pair< core::Size, core::Size > protocols::match::output::PDBWriter::SizePair |
| protocols::match::output::PDBWriter::PDBWriter | ( | ) |
References signature_map_, and upstream_only_geom_cst_.
|
overridedefault |
|
protected |
References cstfile_name_, prefix_, scaf_name_, signature_map_, signature_string(), and core::id::to_string().
Referenced by record_match().
| void protocols::match::output::PDBWriter::assemble_remark_lines | ( | core::pose::Pose & | outpose, |
| utility::vector1< core::conformation::ResidueCOP > const & | upstream_matchres, | ||
| std::map< core::Size, core::Size > const & | redundant_upstream_res, | ||
| utility::vector1< core::Size > const & | ex_geom_ids_for_upstream_res | ||
| ) | const |
References protocols::toolbox::match_enzdes_util::assemble_remark_line(), downstream_pose_from_task_, core::io::RemarkInfo::num, orig_upstream_pose_, core::pose::Pose::pdb_info(), core::id::to_string(), upstream_only_geom_cst_, and core::io::RemarkInfo::value.
Referenced by create_output_upstream_pose(), and protocols::match::output::PoseMatchOutputWriter::insert_match_into_pose().
|
protected |
| core::pose::PoseCOP protocols::match::output::PDBWriter::create_output_upstream_pose | ( | utility::vector1< core::conformation::ResidueCOP > const & | upstream_matchres, |
| std::map< core::Size, core::Size > const & | redundant_upstream_res, | ||
| utility::vector1< core::Size > const & | ex_geom_ids_for_upstream_res | ||
| ) |
References assemble_remark_lines(), and write_matchres_only_.
Referenced by record_match(), and protocols::match::output::CloudPDBWriter::write_match_groups().
| std::string protocols::match::output::PDBWriter::cstfile_name | ( | ) | const |
References cstfile_name_.
Referenced by protocols::match::output::CloudPDBWriter::record_match().
|
protected |
|
overridevirtual |
Reimplemented from protocols::match::output::OutputWriter.
References cstfile_name_, downstream_pose_from_task_, dsbuilders_, protocols::match::output::OutputWriter::initialize_from_matcher_task(), num_geom_cst_, orig_upstream_pose_, output_dsgeom_for_geomcst_, scaf_name_, upstream_only_geom_cst_, and write_matchres_only_.
| core::Size protocols::match::output::PDBWriter::num_geom_cst | ( | ) | const |
References num_geom_cst_.
Referenced by protocols::match::output::CloudPDBWriter::end_output_writing(), protocols::match::output::PoseMatchOutputWriter::insert_match_into_pose(), protocols::match::output::CloudPDBWriter::record_match(), and protocols::match::output::CloudPDBWriter::write_match_groups().
| std::string protocols::match::output::PDBWriter::prefix | ( | ) | const |
References prefix_.
Referenced by protocols::match::output::CloudPDBWriter::record_match(), and set_prefix().
|
overridevirtual |
Reimplemented from protocols::match::output::OutputWriter.
Reimplemented in protocols::match::output::CloudPDBWriter.
References num_written_, and signature_map_.
Referenced by protocols::match::output::CloudPDBWriter::prepare_for_output_writing().
|
overridevirtual |
Implements protocols::match::output::OutputWriter.
Reimplemented in protocols::match::output::CloudPDBWriter.
References assemble_outtag(), coordinate_cacher_, create_output_upstream_pose(), protocols::match::output::OutputWriter::determine_redundant_upstream_matchres(), dsbuilders_, num_written_, output_dsgeom_for_geomcst_, and core::id::to_string().
|
overridevirtual |
evaluator and score writer are not passed in because single-downstream-position match currently have no way of being evaluated
Implements protocols::match::output::OutputWriter.
Reimplemented in protocols::match::output::CloudPDBWriter.
References assemble_outtag(), coordinate_cacher_, create_output_upstream_pose(), protocols::match::output::OutputWriter::determine_redundant_upstream_matchres(), dsbuilders_, protocols::match::Hit::external_geom_id(), protocols::match::fake_hit(), protocols::match::full_hit(), num_written_, protocols::match::match_dspos1::originating_geom_cst_for_dspos, output_dsgeom_for_geomcst_, core::id::to_string(), and protocols::match::match_dspos1::upstream_hits.
| std::string protocols::match::output::PDBWriter::scaf_name | ( | ) | const |
References scaf_name_.
Referenced by protocols::match::output::CloudPDBWriter::record_match().
| void protocols::match::output::PDBWriter::set_coordinate_cacher | ( | UpstreamHitCacherOP | cacher | ) |
References coordinate_cacher_.
| void protocols::match::output::PDBWriter::set_downstream_builder | ( | core::Size | geomcst_id, |
| downstream::DownstreamBuilderCOP | dsbuilder | ||
| ) |
References dsbuilders_.
| void protocols::match::output::PDBWriter::set_prefix | ( | std::string const & | prefix | ) |
| std::string protocols::match::output::PDBWriter::signature_string | ( | utility::vector1< core::conformation::ResidueCOP > const & | upstream_matchres | ) | const |
References orig_upstream_pose_, and core::id::to_string().
Referenced by assemble_outtag(), and protocols::match::output::CloudPDBWriter::record_match().
|
private |
Referenced by coordinate_cacher(), record_match(), and set_coordinate_cacher().
|
private |
Referenced by assemble_outtag(), cstfile_name(), and initialize_from_matcher_task().
|
private |
Referenced by assemble_remark_lines(), and initialize_from_matcher_task().
|
private |
Referenced by dsbuilders(), initialize_from_matcher_task(), record_match(), and set_downstream_builder().
|
private |
Referenced by initialize_from_matcher_task(), and num_geom_cst().
|
private |
Referenced by prepare_for_output_writing(), and record_match().
|
private |
Referenced by assemble_remark_lines(), initialize_from_matcher_task(), and signature_string().
|
private |
Referenced by initialize_from_matcher_task(), and record_match().
|
private |
Referenced by assemble_outtag(), prefix(), and set_prefix().
|
private |
Referenced by assemble_outtag(), initialize_from_matcher_task(), and scaf_name().
|
private |
Referenced by assemble_outtag(), PDBWriter(), and prepare_for_output_writing().
|
private |
Referenced by assemble_remark_lines(), initialize_from_matcher_task(), and PDBWriter().
|
private |
Referenced by create_output_upstream_pose(), and initialize_from_matcher_task().
1.8.7