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::CloudPDBWriter Class Reference

an output writer that uses a grouper to group matches and then writes out one pdb file per group, with the different hits from the group in different MODEL sections More...

#include <PDBWriter.hh>

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

Public Types

typedef PDBWriter parent
 
typedef utility::vector1
< std::set< upstream_hit > > 
UpstreamHitSets
 
typedef utility::vector1
< std::set< downstream_hit > > 
DownstreamHitSets
 
- Public Types inherited from protocols::match::output::PDBWriter
typedef std::pair< core::Size,
core::Size
SizePair
 
typedef OutputWriter Parent
 

Public Member Functions

 CloudPDBWriter (MatchGrouperOP grouper)
 
virtual ~CloudPDBWriter ()
 
virtual void prepare_for_output_writing ()
 
void end_output_writing ()
 
virtual void record_match (match const &m)
 no writing in this function, only saving the hits according to what group they belong to More...
 
virtual void record_match (match_dspos1 const &m)
 
void write_match_groups ()
 this is where the actual writing happens More...
 
utility::vector1
< UpstreamHitSets > const & 
match_groups_ushits () const
 
utility::vector1
< DownstreamHitSets > const & 
match_groups_dshits () const
 
utility::vector1< match_dspos1 >
const & 
representative_group_matches () const
 
utility::vector1< std::set
< downstream_hit >
::const_iterator > const & 
ds_hitset_its () const
 
utility::vector1< std::set
< downstream_hit >
::const_iterator > const & 
ds_hitset_end_its () const
 
- Public Member Functions inherited from protocols::match::output::PDBWriter
 PDBWriter ()
 
virtual ~PDBWriter ()
 
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...
 

Protected Member Functions

void setup_hitset_iterators_for_group (core::Size const group)
 
void clear_match_data ()
 
- Protected Member Functions inherited from protocols::match::output::PDBWriter
UpstreamHitCacherOP coordinate_cacher ()
 
utility::vector1
< downstream::DownstreamBuilderCOP >
const & 
dsbuilders ()
 
std::string assemble_outtag (utility::vector1< core::conformation::ResidueCOP > const &upstream_matchres)
 

Private Attributes

MatchGrouperOP grouper_
 
utility::vector1< UpstreamHitSetsmatch_groups_ushits_
 
utility::vector1
< DownstreamHitSets
match_groups_dshits_
 
utility::vector1< std::string > unique_match_names_
 
utility::vector1< match_dspos1representative_group_matches_
 
utility::vector1< std::set
< upstream_hit >
::const_iterator > 
us_hitset_its_
 
utility::vector1< std::set
< upstream_hit >
::const_iterator > 
us_hitset_end_its_
 
utility::vector1< std::set
< downstream_hit >
::const_iterator > 
ds_hitset_its_
 
utility::vector1< std::set
< downstream_hit >
::const_iterator > 
ds_hitset_end_its_
 

Detailed Description

an output writer that uses a grouper to group matches and then writes out one pdb file per group, with the different hits from the group in different MODEL sections

Definition at line 176 of file PDBWriter.hh.

Member Typedef Documentation

Definition at line 182 of file PDBWriter.hh.

Definition at line 180 of file PDBWriter.hh.

Definition at line 181 of file PDBWriter.hh.

Constructor & Destructor Documentation

protocols::match::output::CloudPDBWriter::CloudPDBWriter ( MatchGrouperOP  grouper)

Definition at line 412 of file PDBWriter.cc.

References clear_match_data().

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

Definition at line 419 of file PDBWriter.cc.

Member Function Documentation

void protocols::match::output::CloudPDBWriter::clear_match_data ( )
protected
utility::vector1< std::set< downstream_hit >::const_iterator > const & protocols::match::output::CloudPDBWriter::ds_hitset_end_its ( ) const

Definition at line 640 of file PDBWriter.cc.

References ds_hitset_end_its_.

utility::vector1< std::set< downstream_hit >::const_iterator > const & protocols::match::output::CloudPDBWriter::ds_hitset_its ( ) const

Definition at line 634 of file PDBWriter.cc.

References ds_hitset_its_.

void protocols::match::output::CloudPDBWriter::end_output_writing ( )
virtual

this class writes output in a form that has no link between a downstream conformation and the upstream conf that it came from.

Reimplemented from protocols::match::output::OutputWriter.

Reimplemented in protocols::match::output::PoseMatchOutputWriter.

Definition at line 434 of file PDBWriter.cc.

References clear_match_data(), match_groups_dshits_, match_groups_ushits_, protocols::match::output::PDBWriter::num_geom_cst(), protocols::match::output::TR(), and write_match_groups().

utility::vector1< CloudPDBWriter::DownstreamHitSets > const & protocols::match::output::CloudPDBWriter::match_groups_dshits ( ) const
utility::vector1< CloudPDBWriter::UpstreamHitSets > const & protocols::match::output::CloudPDBWriter::match_groups_ushits ( ) const
void protocols::match::output::CloudPDBWriter::prepare_for_output_writing ( )
virtual
void protocols::match::output::CloudPDBWriter::record_match ( match const &  m)
virtual
void protocols::match::output::CloudPDBWriter::record_match ( match_dspos1 const &  m)
virtual

Reimplemented from protocols::match::output::PDBWriter.

Definition at line 502 of file PDBWriter.cc.

utility::vector1< match_dspos1 > const & protocols::match::output::CloudPDBWriter::representative_group_matches ( ) const
void protocols::match::output::CloudPDBWriter::setup_hitset_iterators_for_group ( core::Size const  group)
protected
void protocols::match::output::CloudPDBWriter::write_match_groups ( )

Member Data Documentation

utility::vector1< std::set< downstream_hit >::const_iterator > protocols::match::output::CloudPDBWriter::ds_hitset_end_its_
private
utility::vector1< std::set< downstream_hit >::const_iterator > protocols::match::output::CloudPDBWriter::ds_hitset_its_
private
MatchGrouperOP protocols::match::output::CloudPDBWriter::grouper_
private

Definition at line 230 of file PDBWriter.hh.

Referenced by prepare_for_output_writing(), and record_match().

utility::vector1< DownstreamHitSets > protocols::match::output::CloudPDBWriter::match_groups_dshits_
private
utility::vector1< UpstreamHitSets > protocols::match::output::CloudPDBWriter::match_groups_ushits_
private
utility::vector1< match_dspos1 > protocols::match::output::CloudPDBWriter::representative_group_matches_
private
utility::vector1< std::string > protocols::match::output::CloudPDBWriter::unique_match_names_
private

Definition at line 234 of file PDBWriter.hh.

Referenced by clear_match_data(), record_match(), and write_match_groups().

utility::vector1< std::set< upstream_hit >::const_iterator > protocols::match::output::CloudPDBWriter::us_hitset_end_its_
private
utility::vector1< std::set< upstream_hit >::const_iterator > protocols::match::output::CloudPDBWriter::us_hitset_its_
private

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