Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
core::io::silent::BinaryProteinSilentStruct Class Reference

why this inheritance pathway? this makes no sense! More...

#include <BinaryProteinSilentStruct.hh>

Inheritance diagram for core::io::silent::BinaryProteinSilentStruct:
Inheritance graph
[legend]
Collaboration diagram for core::io::silent::BinaryProteinSilentStruct:
Collaboration graph
[legend]

Public Member Functions

 BinaryProteinSilentStruct (Size const nres_in)
 Constructors. More...
 
 BinaryProteinSilentStruct ()
 
 BinaryProteinSilentStruct (core::pose::Pose const &pose, std::string tag="empty_tag")
 
virtual SilentStructOP clone () const
 
void resize (Size const nres_in)
 Re-dimension the storage capacity of this BinaryProteinSilentStruct to the given number of residues. More...
 
 ~BinaryProteinSilentStruct ()
 
BinaryProteinSilentStructoperator= (BinaryProteinSilentStruct const &src)
 Test if this BinaryProteinSilentStruct is equal to the given BinaryProteinSilentStruct in terms of conformation. Doesn't check energies. More...
 
virtual bool init_from_lines (utility::vector1< std::string > const &lines, SilentFileData &container)
 Initialize object from a set of lines. More...
 
virtual void fill_pose (core::pose::Pose &pose) const
 Configure the conformation of the given Pose with the conformational data within this BinaryProteinSilentStruct. Calls pose.clear() and rebuilds Pose from scratch using FA_STANDARD residue types. More...
 
virtual void fill_pose (core::pose::Pose &pose, core::chemical::ResidueTypeSet const &residue_set) const
 Configure the conformation of the given Pose with the conformational data within this BinaryProteinSilentStruct. Calls pose.clear() and rebuilds Pose from scratch using the user-specified residue types. More...
 
virtual void fill_struct (core::pose::Pose const &pose, std::string tag)
 opposite of fill_pose More...
 
virtual void print_header (std::ostream &out) const
 print header information More...
 
virtual void print_conformation (std::ostream &output) const
 Prints the conformation information within this BinaryProteinSilentStruct to the given std::ostream. More...
 
virtual ObjexxFCL::FArray2D< Realget_CA_xyz () const
 returns the positions of the CA atoms More...
 
virtual Real CA_rmsd (BinaryProteinSilentStruct other_pss)
 
virtual Real get_debug_rmsd ()
 calculates the RMSD between the C-alpha atoms of a Pose built from the torsions in this ProteinSilentStruct and the C-alpha atoms from this ProteinSilentStruct. More...
 
void add_jump (kinematics::Jump jump)
 
kinematics::RT const & jump (Size jump_num) const
 
void fold_tree (kinematics::FoldTree f)
 
kinematics::FoldTree const & fold_tree () const
 
bool fullatom () const
 
virtual void fullatom (bool fullatom)
 
char secstruct (unsigned int seqpos) const
 
void secstruct (unsigned int seqpos, char ss)
 
void symmetry_info (core::conformation::symmetry::SymmetryInfo &s)
 
core::conformation::symmetry::SymmetryInfoCOP symmetry_info () const
 
bool is_symmetric () const
 
void parse_chain_endings (std::istream &stream)
 
void chain_endings (utility::vector1< Size > const &endings)
 
std::string chain_endings_str () const
 
utility::vector1< Size > const & chain_endings () const
 
void add_chain_ending (Size const seqpos)
 
- Public Member Functions inherited from core::io::silent::SilentStruct
 SilentStruct ()
 
virtual ~SilentStruct ()
 
 SilentStruct (SilentStruct const &)
 
SilentStructoperator= (SilentStruct const &)
 
void set_tag_from_pose (const core::pose::Pose &pose)
 Sets the tag from the Pose DataCache. More...
 
void precision (core::Size precision)
 
core::Size precision () const
 
void scoreline_prefix (std::string const &prefix)
 
std::string scoreline_prefix () const
 
void finish_pose (core::pose::Pose &pose) const
 calls optH if command line requests optH. must be called by derived classes. More...
 
virtual void print_score_header (std::ostream &out) const
 only print SCORE: header line More...
 
virtual void print_scores (std::ostream &out) const
 print out a SCORE line to the given ozstream. More...
 
virtual void print_comments (std::ostream &out) const
 print the comments in this SilentStruct. More...
 
virtual Size nres () const
 returns the number of residues contained by this SilentStruct. More...
 
void set_decoy_tag (std::string const &tag)
 set the tag associate with this SilentStruct More...
 
std::string decoy_tag () const
 returns the tag associated with this SilentStruct. More...
 
core::sequence::AnnotatedSequence
const & 
sequence () const
 returns the sequence associated with this SilentStruct. More...
 
void nres (Size nres)
 returns the number of residues in this SilentStruct. More...
 
void decoy_tag (std::string const &tag)
 sets the tag associated with this SilentStruct. More...
 
void sequence (core::sequence::AnnotatedSequence const &sequence)
 sets the sequence for this SilentStruct. More...
 
void silent_energies (utility::vector1< SilentEnergy > const &new_se)
 sets the silent_energies for this SilentStruct. More...
 
void sort_silent_scores ()
 sort all the silent energies by their name. More...
 
bool has_energy (std::string const scorename) const
 returns true if this SilentStruct has an energy for the given scorename, returns false otherwise. More...
 
core::Real get_energy (std::string const &scorename) const
 Returns the energy associated with the given scorename if this SilentStruct has an energy for that scorename. Otherwise returns 0. More...
 
std::string const & get_string_value (std::string const &scorename) const
 Returns the energy associated with the given scorename if this SilentStruct has an energy for that scorename. Otherwise returns 0. More...
 
SilentEnergy const & get_silent_energy (std::string const &scorename) const
 Returns the SilentEnergy associated with this scorename. More...
 
utility::vector1< SilentEnergyget_silent_energies ()
 
void set_valid_energies (utility::vector1< std::string > valid)
 
virtual void clear_energies ()
 Clear all of the energies in the SilentStruct. Doesn't just zero the energies, it entirely removes all knowledge of all energies from this SilentStruct. More...
 
void add_energy (std::string scorename, Real value, Real weight=1.0)
 add a score of a given name and value to this SilentStruct. Takes an optional weight that defaults to 1.0. More...
 
void add_string_value (std::string scorename, std::string const &value)
 add a non-floating point score of a given name and value to this SilentStruct. More...
 
void copy_scores (const SilentStruct &src_ss)
 Copy the score information in the given SilentStruct into this SilentStruct. More...
 
void add_comment (std::string name, std::string value)
 add a named comment to this SilentStruct object. Similar to methods for playing with energies, but mapping is string => string rather than string => Real. More...
 
bool has_comment (std::string const &name) const
 
std::string get_comment (std::string const &name) const
 
void comment_from_line (std::string const &line)
 
void erase_comment (std::string const &name)
 
void clear_comments ()
 
std::map< std::string,
std::string > 
get_all_comments () const
 
void parse_energies (std::istream &input, utility::vector1< std::string > const &energy_names)
 
void energies_from_pose (core::pose::Pose const &pose)
 Initialize this SilentStruct's energies from the given Pose. This sets energies, energy weights, and the output widths for the energies. More...
 
void energies_into_pose (core::pose::Pose &pose) const
 Put the energy information from this SilentStruct into the pose. Energies that correspond to a ScoreType are put into the pose.energies().total_energies() EnergyMap, all other energies are put into the ARBITRARY_FLOAT_DATA map in the pose DataCache. Also sets the scorefxn_weights in the Energies object using the information from this SilentStruct. More...
 
utility::vector1< SilentEnergyenergies () const
 Returns the vector of SilentEnergy objects associated with this SilentStruct object. More...
 
EnergyNames energy_names () const
 Returns the EnergyNames that this SilentStruct contains. More...
 
void rename_energies ()
 
bool read_sequence (std::string const &line)
 
void read_score_headers (std::string const &line, utility::vector1< std::string > &enames, SilentFileData &container)
 
std::string one_letter_sequence () const
 strip [...] comment from seqeunce_ and return pure one-letter sequence More...
 
virtual core::Size mem_footprint () const
 
void print_parent_remarks (std::ostream &out) const
 
std::string get_parent_remark (std::string const &name) const
 
bool has_parent_remark (std::string const &name) const
 
void add_parent_remark (std::string const name, std::string const value)
 
void get_parent_remark_from_line (std::string const line)
 

Private Attributes

bool fullatom_
 
utility::vector1< char > secstruct_
 
utility::vector1< kinematics::RTjumps_
 
bool bJumps_use_IntraResStub_
 
kinematics::FoldTree fold_tree_
 
core::conformation::symmetry::SymmetryInfoOP symminfo_
 
utility::vector1< Sizechain_endings_
 
utility::vector1
< utility::vector1
< numeric::xyzVector< float > > > 
atm_coords_
 

Additional Inherited Members

- Protected Member Functions inherited from core::io::silent::SilentStruct
void detect_fullatom (core::Size pos, core::Size natoms, bool &fullatom, bool &well_defined)
 @ brief helper to detect fullatom input More...
 

Detailed Description

why this inheritance pathway? this makes no sense!

Constructor & Destructor Documentation

core::io::silent::BinaryProteinSilentStruct::BinaryProteinSilentStruct ( Size const  nres_in)
core::io::silent::BinaryProteinSilentStruct::BinaryProteinSilentStruct ( )
core::io::silent::BinaryProteinSilentStruct::BinaryProteinSilentStruct ( core::pose::Pose const &  pose,
std::string  tag = "empty_tag" 
)
core::io::silent::BinaryProteinSilentStruct::~BinaryProteinSilentStruct ( )
inline

Member Function Documentation

void core::io::silent::BinaryProteinSilentStruct::add_chain_ending ( Size const  seqpos)
void core::io::silent::BinaryProteinSilentStruct::add_jump ( kinematics::Jump  jump)
inline
Real core::io::silent::BinaryProteinSilentStruct::CA_rmsd ( BinaryProteinSilentStruct  other_pss)
virtual
void core::io::silent::BinaryProteinSilentStruct::chain_endings ( utility::vector1< Size > const &  endings)
utility::vector1< Size > const& core::io::silent::BinaryProteinSilentStruct::chain_endings ( ) const
inline
std::string core::io::silent::BinaryProteinSilentStruct::chain_endings_str ( ) const

References chain_endings(), and core::sequence::end.

Referenced by print_conformation().

virtual SilentStructOP core::io::silent::BinaryProteinSilentStruct::clone ( ) const
inlinevirtual
void core::io::silent::BinaryProteinSilentStruct::fill_pose ( core::pose::Pose pose) const
virtual

Configure the conformation of the given Pose with the conformational data within this BinaryProteinSilentStruct. Calls pose.clear() and rebuilds Pose from scratch using FA_STANDARD residue types.

Reimplemented from core::io::silent::SilentStruct.

References core::chemical::CENTROID, core::chemical::FA_STANDARD, fullatom(), core::chemical::ChemicalManager::get_instance(), core::chemical::ChemicalManager::residue_type_set(), and core::io::silent::tr().

Referenced by get_debug_rmsd().

void core::io::silent::BinaryProteinSilentStruct::fill_pose ( core::pose::Pose pose,
core::chemical::ResidueTypeSet const &  residue_set 
) const
virtual

Configure the conformation of the given Pose with the conformational data within this BinaryProteinSilentStruct. Calls pose.clear() and rebuilds Pose from scratch using the user-specified residue types.

Reimplemented from core::io::silent::SilentStruct.

References core::pose::Pose::annotated_sequence(), atm_coords_, core::pose::Pose::batch_set_xyz(), bJumps_use_IntraResStub_, chain_endings(), core::conformation::Conformation::chain_endings(), core::scoring::Energies::clear(), core::pose::Pose::conformation(), core::pose::Pose::energies(), core::io::silent::SilentStruct::finish_pose(), fold_tree(), core::pose::Pose::fold_tree(), fullatom(), core::pose::initialize_disulfide_bonds(), core::pose::Pose::is_fullatom(), core::pose::symmetry::is_symmetric(), is_symmetric(), jump(), core::kinematics::FoldTree::jump_edge(), core::pose::symmetry::make_asymmetric_pose(), core::pose::make_pose_from_sequence(), core::pose::symmetry::make_symmetric_pose(), core::pose::named_stub_id_to_stub_id(), core::conformation::Residue::natoms(), core::io::silent::SilentStruct::nres(), core::kinematics::FoldTree::num_jump(), core::io::silent::SilentStruct::one_letter_sequence(), core::pose::Pose::residue(), secstruct_, core::io::silent::SilentStruct::sequence(), core::pose::Pose::set_jump(), core::pose::Pose::set_secstruct(), core::conformation::Conformation::set_stub_transform(), core::kinematics::Edge::start(), protocols::loops::start, core::kinematics::Edge::stop(), protocols::loops::stop, symmetry_info(), and core::io::silent::tr().

void core::io::silent::BinaryProteinSilentStruct::fill_struct ( core::pose::Pose const &  pose,
std::string  tag 
)
virtual
void core::io::silent::BinaryProteinSilentStruct::fold_tree ( kinematics::FoldTree  f)
inline

References fold_tree_.

kinematics::FoldTree const& core::io::silent::BinaryProteinSilentStruct::fold_tree ( ) const
inline
bool core::io::silent::BinaryProteinSilentStruct::fullatom ( ) const
inline

References fullatom_.

Referenced by fill_pose(), fill_struct(), and fullatom().

virtual void core::io::silent::BinaryProteinSilentStruct::fullatom ( bool  fullatom)
inlinevirtual

References fullatom(), and fullatom_.

ObjexxFCL::FArray2D< Real > core::io::silent::BinaryProteinSilentStruct::get_CA_xyz ( ) const
virtual

returns the positions of the CA atoms

Implements core::io::silent::SilentStruct.

References atm_coords_, and core::io::silent::SilentStruct::nres().

Referenced by CA_rmsd().

Real core::io::silent::BinaryProteinSilentStruct::get_debug_rmsd ( )
virtual

calculates the RMSD between the C-alpha atoms of a Pose built from the torsions in this ProteinSilentStruct and the C-alpha atoms from this ProteinSilentStruct.

Implements core::io::silent::SilentStruct.

References atm_coords_, fill_pose(), core::pose::Pose::residue(), core::pose::Pose::total_residue(), and core::conformation::Residue::xyz().

bool core::io::silent::BinaryProteinSilentStruct::init_from_lines ( utility::vector1< std::string > const &  lines,
SilentFileData container 
)
virtual
bool core::io::silent::BinaryProteinSilentStruct::is_symmetric ( ) const
inline
kinematics::RT const& core::io::silent::BinaryProteinSilentStruct::jump ( Size  jump_num) const
inline

References jumps_.

Referenced by fill_pose(), init_from_lines(), and print_conformation().

BinaryProteinSilentStruct & core::io::silent::BinaryProteinSilentStruct::operator= ( BinaryProteinSilentStruct const &  src)

Test if this BinaryProteinSilentStruct is equal to the given BinaryProteinSilentStruct in terms of conformation. Doesn't check energies.

void core::io::silent::BinaryProteinSilentStruct::parse_chain_endings ( std::istream &  stream)

References add_chain_ending().

Referenced by init_from_lines().

void core::io::silent::BinaryProteinSilentStruct::print_conformation ( std::ostream &  output) const
virtual
void core::io::silent::BinaryProteinSilentStruct::print_header ( std::ostream &  out) const
virtual

print header information

Reimplemented from core::io::silent::SilentStruct.

References core::io::silent::SilentStruct::print_header().

void core::io::silent::BinaryProteinSilentStruct::resize ( Size const  nres_in)

Re-dimension the storage capacity of this BinaryProteinSilentStruct to the given number of residues.

Resize this silent-struct to the appropriate number of residues.

References atm_coords_, fold_tree_, core::kinematics::FoldTree::is_simple_tree(), core::io::silent::SilentStruct::nres(), secstruct_, and core::kinematics::FoldTree::simple_tree().

Referenced by BinaryProteinSilentStruct(), fill_struct(), and init_from_lines().

char core::io::silent::BinaryProteinSilentStruct::secstruct ( unsigned int  seqpos) const
inline

References secstruct_.

void core::io::silent::BinaryProteinSilentStruct::secstruct ( unsigned int  seqpos,
char  ss 
)
inline

References secstruct_.

void core::io::silent::BinaryProteinSilentStruct::symmetry_info ( core::conformation::symmetry::SymmetryInfo s)
inline

References symminfo_.

core::conformation::symmetry::SymmetryInfoCOP core::io::silent::BinaryProteinSilentStruct::symmetry_info ( ) const
inline

Member Data Documentation

utility::vector1< utility::vector1< numeric::xyzVector<float> > > core::io::silent::BinaryProteinSilentStruct::atm_coords_
private
bool core::io::silent::BinaryProteinSilentStruct::bJumps_use_IntraResStub_
private
utility::vector1< Size > core::io::silent::BinaryProteinSilentStruct::chain_endings_
private
kinematics::FoldTree core::io::silent::BinaryProteinSilentStruct::fold_tree_
private
bool core::io::silent::BinaryProteinSilentStruct::fullatom_
private
utility::vector1< kinematics::RT > core::io::silent::BinaryProteinSilentStruct::jumps_
private
utility::vector1< char > core::io::silent::BinaryProteinSilentStruct::secstruct_
private
core::conformation::symmetry::SymmetryInfoOP core::io::silent::BinaryProteinSilentStruct::symminfo_
private

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