Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
protocols::match::output::PDBWriter Class Reference

#include <PDBWriter.hh>

Inheritance diagram for protocols::match::output::PDBWriter:
Inheritance graph
[legend]
Collaboration diagram for protocols::match::output::PDBWriter:
Collaboration graph
[legend]

Public Types

typedef std::pair< core::Size,
core::Size
SizePair
 
typedef OutputWriter Parent
 

Public Member Functions

 PDBWriter ()
 
virtual ~PDBWriter ()
 
virtual void prepare_for_output_writing ()
 
virtual void record_match (match const &m)
 
virtual void record_match (match_dspos1 const &m)
 
void set_coordinate_cacher (UpstreamHitCacherOP)
 
void set_prefix (std::string const &prefix)
 
void initialize_from_matcher_task (MatcherTaskCOP mtask)
 
void set_downstream_builder (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 ()
 
virtual ~OutputWriter ()
 
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, SizePairsignature_map_
 
utility::vector1< booloutput_dsgeom_for_geomcst_
 
std::map< core::Size, core::Sizeupstream_only_geom_cst_
 

Detailed Description

Definition at line 50 of file PDBWriter.hh.

Member Typedef Documentation

Definition at line 56 of file PDBWriter.hh.

Definition at line 54 of file PDBWriter.hh.

Constructor & Destructor Documentation

protocols::match::output::PDBWriter::PDBWriter ( )

Definition at line 58 of file PDBWriter.cc.

References signature_map_, and upstream_only_geom_cst_.

protocols::match::output::PDBWriter::~PDBWriter ( )
virtual

Definition at line 71 of file PDBWriter.cc.

Member Function Documentation

std::string protocols::match::output::PDBWriter::assemble_outtag ( utility::vector1< core::conformation::ResidueCOP > const &  upstream_matchres)
protected

Definition at line 385 of file PDBWriter.cc.

References cstfile_name_, prefix_, scaf_name_, signature_map_, and signature_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
UpstreamHitCacherOP protocols::match::output::PDBWriter::coordinate_cacher ( )
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 
)
std::string protocols::match::output::PDBWriter::cstfile_name ( ) const

Definition at line 359 of file PDBWriter.cc.

References cstfile_name_.

Referenced by protocols::match::output::CloudPDBWriter::record_match().

utility::vector1< downstream::DownstreamBuilderCOP > const & protocols::match::output::PDBWriter::dsbuilders ( )
protected
void protocols::match::output::PDBWriter::initialize_from_matcher_task ( MatcherTaskCOP  mtask)
virtual
core::Size protocols::match::output::PDBWriter::num_geom_cst ( ) const
std::string protocols::match::output::PDBWriter::prefix ( ) const

Definition at line 365 of file PDBWriter.cc.

References prefix_.

Referenced by protocols::match::output::CloudPDBWriter::record_match(), and set_prefix().

void protocols::match::output::PDBWriter::prepare_for_output_writing ( )
virtual
void protocols::match::output::PDBWriter::record_match ( match const &  m)
virtual
void protocols::match::output::PDBWriter::record_match ( match_dspos1 const &  m)
virtual
std::string protocols::match::output::PDBWriter::scaf_name ( ) const

Definition at line 353 of file PDBWriter.cc.

References scaf_name_.

Referenced by protocols::match::output::CloudPDBWriter::record_match().

void protocols::match::output::PDBWriter::set_coordinate_cacher ( UpstreamHitCacherOP  cacher)

Definition at line 199 of file PDBWriter.cc.

References coordinate_cacher_.

void protocols::match::output::PDBWriter::set_downstream_builder ( Size  geomcst_id,
downstream::DownstreamBuilderCOP  dsbuilder 
)

Definition at line 233 of file PDBWriter.cc.

References dsbuilders_.

void protocols::match::output::PDBWriter::set_prefix ( std::string const &  prefix)

Definition at line 205 of file PDBWriter.cc.

References prefix(), and prefix_.

std::string protocols::match::output::PDBWriter::signature_string ( utility::vector1< core::conformation::ResidueCOP > const &  upstream_matchres) const

Member Data Documentation

UpstreamHitCacherOP protocols::match::output::PDBWriter::coordinate_cacher_
private

Definition at line 145 of file PDBWriter.hh.

Referenced by coordinate_cacher(), record_match(), and set_coordinate_cacher().

std::string protocols::match::output::PDBWriter::cstfile_name_
private

Definition at line 150 of file PDBWriter.hh.

Referenced by assemble_outtag(), cstfile_name(), and initialize_from_matcher_task().

core::pose::PoseCOP protocols::match::output::PDBWriter::downstream_pose_from_task_
private

Definition at line 160 of file PDBWriter.hh.

Referenced by assemble_remark_lines(), and initialize_from_matcher_task().

utility::vector1< downstream::DownstreamBuilderCOP > protocols::match::output::PDBWriter::dsbuilders_
private
core::Size protocols::match::output::PDBWriter::num_geom_cst_
private

Definition at line 153 of file PDBWriter.hh.

Referenced by initialize_from_matcher_task(), and num_geom_cst().

core::Size protocols::match::output::PDBWriter::num_written_
private

Definition at line 152 of file PDBWriter.hh.

Referenced by prepare_for_output_writing(), and record_match().

core::pose::PoseCOP protocols::match::output::PDBWriter::orig_upstream_pose_
private
utility::vector1< bool > protocols::match::output::PDBWriter::output_dsgeom_for_geomcst_
private

Definition at line 166 of file PDBWriter.hh.

Referenced by initialize_from_matcher_task(), and record_match().

std::string protocols::match::output::PDBWriter::prefix_
private

Definition at line 150 of file PDBWriter.hh.

Referenced by assemble_outtag(), prefix(), and set_prefix().

std::string protocols::match::output::PDBWriter::scaf_name_
private

Definition at line 150 of file PDBWriter.hh.

Referenced by assemble_outtag(), initialize_from_matcher_task(), and scaf_name().

std::map< std::string, SizePair > protocols::match::output::PDBWriter::signature_map_
private

Definition at line 163 of file PDBWriter.hh.

Referenced by assemble_outtag(), PDBWriter(), and prepare_for_output_writing().

std::map< core::Size, core::Size > protocols::match::output::PDBWriter::upstream_only_geom_cst_
private

Definition at line 169 of file PDBWriter.hh.

Referenced by assemble_remark_lines(), initialize_from_matcher_task(), and PDBWriter().

bool protocols::match::output::PDBWriter::write_matchres_only_
private

Definition at line 148 of file PDBWriter.hh.

Referenced by create_output_upstream_pose(), and initialize_from_matcher_task().


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