|
Rosetta 3.5
|
Abstract base class for classes that read and write different types of silent-files. Silent-files can contain SilentStruct objects which are expected, to be uniquely identified by some sort of string-based tag inside the file. More...
#include <SilentFileData.hh>


Classes | |
| class | const_iterator |
| const_iterator class for SilentFileData container. More... | |
| class | iterator |
| Iterator class for SilentFileData container. More... | |
Public Member Functions | |
| SilentFileData () | |
| SilentFileData (std::string const &filename) | |
| SilentFileData (const std::string &filename, bool store_argv_in_file, bool strict_column_mode, const std::string &silent_struct_type) | |
| bool | read_file (std::string const &filename) |
| Read in the SilentStruct objects contained in the given filename. this version will throw an exception if things go wrong (boolean return value is thus always true) More... | |
| bool | _read_file (std::string const &filename, bool throw_exception_on_bad_structs=false) |
| Read in the SilentStruct objects contained in the given filename. this version returns with a boolean to tell you about success. More... | |
| bool | read_file (std::string const &filename, utility::vector1< std::string > const &tags) |
| Read in the SilentStruct objects contained in the given filename. Ignore any SilentStruct with a tag not in the tags vector. throw an exception if things go wrong (returned boolean always true) More... | |
| bool | read_stream (std::istream &data, utility::vector1< std::string > const &tags, bool throw_exception_on_bad_structs, std::string filename="read_from_stream") |
| bool | _read_file (std::string const &filename, utility::vector1< std::string > const &tags, bool throw_exception_on_bad_structs=false) |
| Read in the SilentStruct objects contained in the given filename. Ignore any SilentStruct with a tag not in the tags vector. returns with a boolean to tell about success. More... | |
| bool | store_argv_in_file () const |
| Returns true if this silent-file plans on storing option.get_argv() as a comment in the silent-file, false otherwise. More... | |
| void | store_argv_in_file (bool new_setting) |
| Sets a boolean variable governing if this silent-file plans on storing option.get_argv() as a comment in the silent-file. More... | |
| bool | write_silent_struct (SilentStruct &s, std::string const &filename, bool bWriteScoreOnly=false) const |
| Write the given silent-struct to the given outfile. More... | |
| bool | _write_silent_struct (SilentStruct &s, std::ostream &out, bool bWriteScoreOnly=false) const |
| bool | write_silent_struct (SilentStruct &s, std::ostream &out, bool bWriteScoreOnly=false) const |
| Write the given silent-struct to the given ostream. More... | |
| void | write_comment (std::ostream &out, std::string const &line) const |
| Write a comment to the given output stream. More... | |
| Size | size () const |
| Returns the number of structures contained in this container. More... | |
| int | nres () const |
| Returns the number of residues in the first structure in this object. Not guaranteed to be fixed for all structures in this container. More... | |
| void | set_filename (std::string filename) |
| Sets the filename that this SilentFileData object will write to. More... | |
| SilentStructOP | operator[] (std::string tag) |
| std::string const & | filename () const |
| Gets the filename that this SilentFileData object will write to. More... | |
| utility::vector1< std::string > | tags () const |
| Return all tags in this container. More... | |
| utility::vector1< std::string > | read_tags_fast (std::string const &filename) const |
| quickly read a list of tags from a silent-input file. Only checks lines beginning with SCORE: strings. More... | |
| bool | read_tags_fast (std::string const &filename, utility::vector1< std::string > &) const |
| quickly read a list of tags from a silent-input file. Only checks lines beginning with SCORE: strings. More... | |
| bool | matched_tags (std::string const &expression, std::string const &mode, utility::vector1< std::string > &tags_in_file) const |
| return mode=first,last,all matched tags – currently matching 'expression*' to tags in file, boost::regexp possible later More... | |
| bool | strict_column_mode () const |
| Returns a boolean indicating whether or not the strict_column_mode is turned on when printing scores. More... | |
| void | strict_column_mode (bool new_mode) |
| Sets value for strict column mode. See strict_column_mode() for more information. More... | |
| void | set_record_source (bool const &new_mode) |
| bool | has_tag (std::string const &tag) const |
| Returns true if we have a SilentStruct matching the given tag, false otherwise. More... | |
| utility::vector1< std::string > | comment_lines () |
| Returns a vector1 of the comment lines read in from a silent-file. Comment lines are any lines in the silent-file beginning with a # character. More... | |
| void | comment_line (std::string const &line) |
| Adds a comment-line that will be printed in write_all method. Comment lines are simply lines in the silent-file that begin with the # character, and are printed in the write_all method. More... | |
| void | score_filter (Real const score_fraction) |
| Removes the worst ( 1 - score_fraction ) percent of the decoys by score. The value of score_fraction should be between 0 and 1.0. More... | |
| void | reverse_score_filter (Real const score_fraction) |
| void | order_by_energy () |
| Orders silent structs by energy. More... | |
| void | add_structure_replace_tag_if_necessary (SilentStructOP &new_struct) |
| void | add_structure (SilentStructOP const &new_struct) |
| Adds a SilentStructOP to the structure_map_. If the SilentStruct's tag already exists in the structure_map_, a new tag is assigned. Careful with this method, as it stores an owning pointer. If you change the SilentStruct later, it will change your already stored structures. More... | |
| void | push_back (SilentStructOP const &new_struct) |
| push_back to provide compatibility with other std containers. More... | |
| void | add_structure (SilentStruct const &new_struct) |
| Saves a copy of the silent struct. This method is: More... | |
| SilentStruct const & | get_structure (const std::string &tag) const |
| Return a SilentStruct referred to by the given tag. Assumes that we have checked the tag!! More... | |
| void | clear_structure_map () |
| Remove all of the SilentStruct objects from this object. More... | |
| void | clear () |
| Clears all of the data associated with this object. More... | |
| virtual | ~SilentFileData () |
| Destructor. More... | |
| void | write_all (std::string const &filename, bool bWriteScoreOnly=false) const |
| write all SilentStruct objects in the structure_map_ to the given filename. More... | |
| void | renumber_all_decoys () |
| renumber all of the decoys in this SilentFileData object. This obliterates decoy tag associated with every SilentStruct object, and tries to sensibly number the decoys with similar and increasingly numbered decoy tags. More... | |
| SilentStructOP | create_SilentStructOP () |
| creates a SilentStructOP using command-line options. Just a wrapper around SilentStructFactory::get_instance()->get_silent_struct_in(). More... | |
| SharedSilentDataOP | get_shared_silent_data (SharedSilentDataType ssdt) const |
| SharedSilentData methods. More... | |
| void | set_shared_silent_data (SharedSilentDataType ssdt, SharedSilentDataOP ssd_op) const |
| bool | has_shared_silent_data (SharedSilentDataType ssdt) const |
| iterator | begin () |
| Returns an iterator to the start of the members of this container. More... | |
| const_iterator | begin () const |
| Returns an iterator to the start of the members of this container. More... | |
| iterator | end () |
| Returns an iterator to the end of the members of this container. More... | |
| const_iterator | end () const |
| Returns an iterator to the end of the members of this container. More... | |
Private Member Functions | |
| bool | read_silent_struct_type_from_remark (std::string const &line, bool header=false) |
| bool | check_if_rna_from_sequence_line (std::string const &sequence_line) |
| This is somewhat redundant if the silent file has a "REMARK RNA" line, but some older silent files didn't do that. More... | |
Private Attributes | |
| Structure_Map | structure_map_ |
| utility::vector1< std::string > | comment_lines_ |
| std::map< SharedSilentDataType, SharedSilentDataOP > | shared_silent_data_ |
| std::string | filename_ |
| bool | store_argv_in_file_ |
| bool | strict_column_mode_ |
| bool | record_source_ |
| std::string | silent_struct_type_ |
Abstract base class for classes that read and write different types of silent-files. Silent-files can contain SilentStruct objects which are expected, to be uniquely identified by some sort of string-based tag inside the file.
Definition at line 46 of file SilentFileData.hh.
|
inline |
Definition at line 64 of file SilentFileData.hh.
|
inline |
Definition at line 72 of file SilentFileData.hh.
|
inline |
Definition at line 80 of file SilentFileData.hh.
|
virtual |
| bool core::io::silent::SilentFileData::_read_file | ( | std::string const & | filename, |
| bool | throw_exception_on_bad_structs = false |
||
| ) |
Read in the SilentStruct objects contained in the given filename. this version returns with a boolean to tell you about success.
Definition at line 430 of file SilentFileData.cc.
References read_tags_fast(), core::io::silent::RG(), and core::io::silent::tr().
Referenced by protocols::abinitio::IterativeBase::collect_alternative_decoys(), and read_file().
| bool core::io::silent::SilentFileData::_read_file | ( | std::string const & | filename, |
| utility::vector1< std::string > const & | tags, | ||
| bool | throw_exception_on_bad_structs = false |
||
| ) |
Read in the SilentStruct objects contained in the given filename. Ignore any SilentStruct with a tag not in the tags vector. returns with a boolean to tell about success.
Definition at line 505 of file SilentFileData.cc.
References read_stream().
| bool core::io::silent::SilentFileData::_write_silent_struct | ( | SilentStruct & | s, |
| std::ostream & | out, | ||
| bool | bWriteScoreOnly = false |
||
| ) | const |
Definition at line 313 of file SilentFileData.cc.
References core::io::silent::SilentStruct::print_header(), and write_silent_struct().
| void core::io::silent::SilentFileData::add_structure | ( | SilentStructOP const & | new_struct) |
Adds a SilentStructOP to the structure_map_. If the SilentStruct's tag already exists in the structure_map_, a new tag is assigned. Careful with this method, as it stores an owning pointer. If you change the SilentStruct later, it will change your already stored structures.
Definition at line 222 of file SilentFileData.cc.
References add_structure_replace_tag_if_necessary(), has_tag(), structure_map_, and core::io::silent::tr().
Referenced by add_structure(), add_structure_replace_tag_if_necessary(), protocols::abinitio::AbrelaxApplication::fold(), protocols::abinitio::IterativeBase::gen_cen2fullatom(), protocols::abinitio::IterativeBase::gen_cen2fullatom_non_pool_decoys(), protocols::abinitio::IterativeBase::gen_diversity_pool(), protocols::abinitio::IterativeFullatom::gen_resample_core(), protocols::abinitio::IterativeBase::gen_resample_stage2(), push_back(), read_stream(), protocols::abinitio::HedgeArchive::save_decoys(), protocols::swa::StepWiseClusterer::silent_file_data(), and protocols::jd2::archive::ArchiveManager::start_new_batch().
| void core::io::silent::SilentFileData::add_structure | ( | SilentStruct const & | new_struct) |
Saves a copy of the silent struct. This method is:
Definition at line 241 of file SilentFileData.cc.
References add_structure(), and core::io::silent::SilentStruct::clone().
| void core::io::silent::SilentFileData::add_structure_replace_tag_if_necessary | ( | SilentStructOP & | new_struct) |
Definition at line 192 of file SilentFileData.cc.
References add_structure(), has_tag(), and core::io::silent::tr().
Referenced by add_structure().
|
inline |
Returns an iterator to the start of the members of this container.
Definition at line 471 of file SilentFileData.hh.
References structure_map_.
Referenced by protocols::wum::SilentStructStore::add(), protocols::swa::protein::StepWiseProteinPoseSetup::apply(), protocols::abinitio::IterativeBase::collect_alternative_decoys(), protocols::abinitio::AbrelaxApplication::do_rerun(), protocols::canonical_sampling::mc_convergence_checks::Pool_RMSD::fill_pool(), core::import_pose::pose_stream::LazySilentFilePoseInputStream::fill_pose(), protocols::swa::rna::get_binary_rna_silent_struct_safe(), protocols::jd2::archive::ArchiveBase::init_from_decoy_set(), core::import_pose::pose_stream::LazySilentFilePoseInputStream::LazySilentFilePoseInputStream(), protocols::toolbox::KClusterData::load_silent_file(), nres(), order_by_energy(), protocols::checkpoint::pose_from_binary_silent_file(), protocols::rna::RNA_ChunkLibrary::process_input_file(), protocols::toolbox::DecoySetEvaluation::push_back_CA_xyz_from_silent_file(), protocols::wum::SilentStructStore::read_from_stream(), protocols::abinitio::IterativeAbrelax::read_structures(), protocols::jd2::archive::ArchiveBase::read_structures(), protocols::canonical_sampling::SilentTrajectoryRecorder::restart_simulation(), protocols::jd2::archive::ArchiveBase::restore_from_file(), reverse_score_filter(), protocols::toolbox::KClusterData::save_all_in_one(), protocols::toolbox::KClusterData::save_cluster_tree(), score_filter(), protocols::comparative_modeling::ThreadingJobInputter::ThreadingJobInputter(), protocols::jobdist::universal_main(), and write_all().
|
inline |
Returns an iterator to the start of the members of this container.
Definition at line 474 of file SilentFileData.hh.
References structure_map_.
|
private |
This is somewhat redundant if the silent file has a "REMARK RNA" line, but some older silent files didn't do that.
Definition at line 725 of file SilentFileData.cc.
References silent_struct_type_.
Referenced by read_stream().
|
inline |
Clears all of the data associated with this object.
Definition at line 315 of file SilentFileData.hh.
References clear_structure_map(), comment_lines_, filename_, shared_silent_data_, store_argv_in_file_, and strict_column_mode_.
Referenced by core::import_pose::pose_stream::LazySilentFilePoseInputStream::fill_pose().
|
inline |
Remove all of the SilentStruct objects from this object.
Definition at line 310 of file SilentFileData.hh.
References structure_map_.
Referenced by clear(), renumber_all_decoys(), and ~SilentFileData().
|
inline |
Adds a comment-line that will be printed in write_all method. Comment lines are simply lines in the silent-file that begin with the # character, and are printed in the write_all method.
Definition at line 260 of file SilentFileData.hh.
References comment_lines_.
|
inline |
Returns a vector1 of the comment lines read in from a silent-file. Comment lines are any lines in the silent-file beginning with a # character.
Definition at line 253 of file SilentFileData.hh.
References comment_lines_.
Referenced by protocols::wum::SilentStructStore::read_from_stream().
| SilentStructOP core::io::silent::SilentFileData::create_SilentStructOP | ( | ) |
creates a SilentStructOP using command-line options. Just a wrapper around SilentStructFactory::get_instance()->get_silent_struct_in().
Definition at line 746 of file SilentFileData.cc.
References core::io::silent::SilentStructFactory::get_instance(), core::io::silent::SilentStructFactory::get_silent_struct(), core::io::silent::SilentStructFactory::get_silent_struct_in(), and silent_struct_type_.
Referenced by read_stream().
|
inline |
Returns an iterator to the end of the members of this container.
Definition at line 477 of file SilentFileData.hh.
References structure_map_.
Referenced by protocols::wum::SilentStructStore::add(), protocols::swa::protein::StepWiseProteinPoseSetup::apply(), protocols::abinitio::IterativeBase::collect_alternative_decoys(), protocols::abinitio::AbrelaxApplication::do_rerun(), protocols::canonical_sampling::mc_convergence_checks::Pool_RMSD::fill_pool(), core::import_pose::pose_stream::LazySilentFilePoseInputStream::fill_pose(), protocols::swa::rna::get_binary_rna_silent_struct_safe(), core::import_pose::pose_stream::LazySilentFilePoseInputStream::has_another_pose(), protocols::jd2::archive::ArchiveBase::init_from_decoy_set(), protocols::toolbox::KClusterData::load_silent_file(), order_by_energy(), protocols::checkpoint::pose_from_binary_silent_file(), protocols::rna::RNA_ChunkLibrary::process_input_file(), protocols::toolbox::DecoySetEvaluation::push_back_CA_xyz_from_silent_file(), protocols::wum::SilentStructStore::read_from_stream(), protocols::abinitio::IterativeAbrelax::read_structures(), protocols::jd2::archive::ArchiveBase::read_structures(), core::import_pose::pose_stream::LazySilentFilePoseInputStream::reset(), protocols::jd2::archive::ArchiveBase::restore_from_file(), reverse_score_filter(), protocols::toolbox::KClusterData::save_all_in_one(), protocols::toolbox::KClusterData::save_cluster_tree(), score_filter(), protocols::comparative_modeling::ThreadingJobInputter::ThreadingJobInputter(), protocols::jobdist::universal_main(), and write_all().
|
inline |
Returns an iterator to the end of the members of this container.
Definition at line 480 of file SilentFileData.hh.
References structure_map_.
|
inline |
Gets the filename that this SilentFileData object will write to.
Definition at line 192 of file SilentFileData.hh.
References filename_.
Referenced by matched_tags(), read_stream(), protocols::canonical_sampling::SilentTrajectoryRecorder::restart_simulation(), and set_filename().
| SharedSilentDataOP core::io::silent::SilentFileData::get_shared_silent_data | ( | SharedSilentDataType | ssdt) | const |
SharedSilentData methods.
Returns the SharedSilentDataOP associated with the given type.
Definition at line 760 of file SilentFileData.cc.
References shared_silent_data_.
Referenced by core::import_pose::PDBSilentStruct::init_from_lines(), core::io::silent::ScoreFileSilentStruct::init_from_lines(), core::io::silent::BinaryRNASilentStruct::init_from_lines(), core::io::silent::BinaryProteinSilentStruct::init_from_lines(), core::io::silent::ProteinSilentStruct_Template< T >::init_from_lines(), core::io::silent::RNA_SilentStruct::init_from_lines(), and write_silent_struct().
|
inline |
Return a SilentStruct referred to by the given tag. Assumes that we have checked the tag!!
Definition at line 303 of file SilentFileData.hh.
References structure_map_.
Referenced by protocols::abinitio::KinematicAbinitio::apply().
| bool core::io::silent::SilentFileData::has_shared_silent_data | ( | SharedSilentDataType | ssdt) | const |
Definition at line 773 of file SilentFileData.cc.
References shared_silent_data_.
Referenced by write_silent_struct().
|
inline |
Returns true if we have a SilentStruct matching the given tag, false otherwise.
Definition at line 246 of file SilentFileData.hh.
References structure_map_.
Referenced by add_structure(), add_structure_replace_tag_if_necessary(), protocols::abinitio::KinematicAbinitio::apply(), and operator[]().
| bool core::io::silent::SilentFileData::matched_tags | ( | std::string const & | expression, |
| std::string const & | mode, | ||
| utility::vector1< std::string > & | tags_in_file | ||
| ) | const |
return mode=first,last,all matched tags – currently matching 'expression*' to tags in file, boost::regexp possible later
Definition at line 116 of file SilentFileData.cc.
References filename(), and core::io::silent::tr().
Referenced by protocols::canonical_sampling::SilentTrajectoryRecorder::restart_simulation().
| int core::io::silent::SilentFileData::nres | ( | ) | const |
Returns the number of residues in the first structure in this object. Not guaranteed to be fixed for all structures in this container.
Definition at line 377 of file SilentFileData.cc.
References begin().
| SilentStructOP core::io::silent::SilentFileData::operator[] | ( | std::string | tag) |
Definition at line 381 of file SilentFileData.cc.
References has_tag(), and structure_map_.
| void core::io::silent::SilentFileData::order_by_energy | ( | ) |
Orders silent structs by energy.
Definition at line 882 of file SilentFileData.cc.
References begin(), end(), and structure_map_.
|
inline |
push_back to provide compatibility with other std containers.
Definition at line 290 of file SilentFileData.hh.
References add_structure().
| bool core::io::silent::SilentFileData::read_file | ( | std::string const & | filename) |
Read in the SilentStruct objects contained in the given filename. this version will throw an exception if things go wrong (boolean return value is thus always true)
Definition at line 411 of file SilentFileData.cc.
References _read_file().
Referenced by protocols::swa::protein::StepWiseProteinPoseSetup::apply(), protocols::abinitio::KinematicAbinitio::apply(), protocols::canonical_sampling::CanonicalSamplingMover::apply(), protocols::optimize_weights::IterativeOptEDriver::collect_ddG_of_mutation_data(), protocols::abinitio::AbrelaxApplication::do_rerun(), protocols::canonical_sampling::mc_convergence_checks::Pool_RMSD::fill_pool(), core::import_pose::pose_stream::LazySilentFilePoseInputStream::fill_pose(), protocols::swa::rna::get_binary_rna_silent_struct_safe(), protocols::jd2::archive::ArchiveManager::go(), protocols::swa::rna::import_pose_from_silent_file(), protocols::ddg::ddGMover::is_any_pdb_empty(), core::import_pose::pose_stream::LazySilentFilePoseInputStream::LazySilentFilePoseInputStream(), protocols::optimize_weights::IterativeOptEDriver::load_pose(), protocols::toolbox::KClusterData::load_silent_file(), protocols::checkpoint::pose_from_binary_silent_file(), protocols::rna::RNA_ChunkLibrary::process_input_file(), protocols::canonical_sampling::SilentTrajectoryRecorder::restart_simulation(), protocols::jd2::archive::ArchiveBase::restore_from_file(), protocols::toolbox::KClusterData::save_all_in_one(), protocols::toolbox::KClusterData::save_cluster_tree(), protocols::comparative_modeling::ThreadingJobInputter::ThreadingJobInputter(), and protocols::jobdist::universal_main().
| bool core::io::silent::SilentFileData::read_file | ( | std::string const & | filename, |
| utility::vector1< std::string > const & | tags | ||
| ) |
Read in the SilentStruct objects contained in the given filename. Ignore any SilentStruct with a tag not in the tags vector. throw an exception if things go wrong (returned boolean always true)
Definition at line 485 of file SilentFileData.cc.
References _read_file().
|
private |
The first remarks line in a silent file block described the type of silent file that is comming. For example,
Definition at line 687 of file SilentFileData.cc.
References silent_struct_type_, and core::io::silent::tr().
Referenced by read_stream().
| bool core::io::silent::SilentFileData::read_stream | ( | std::istream & | data, |
| utility::vector1< std::string > const & | tags, | ||
| bool | throw_exception_on_bad_structs, | ||
| std::string | filename = "read_from_stream" |
||
| ) |
| filename | for error reporting * |
Definition at line 527 of file SilentFileData.cc.
References add_structure(), check_if_rna_from_sequence_line(), comment_lines_, create_SilentStructOP(), filename(), read_silent_struct_type_from_remark(), record_source_, structure_map_, and core::io::silent::tr().
Referenced by _read_file(), and protocols::wum::SilentStructStore::read_from_stream().
| utility::vector1< std::string > core::io::silent::SilentFileData::read_tags_fast | ( | std::string const & | filename) | const |
quickly read a list of tags from a silent-input file. Only checks lines beginning with SCORE: strings.
Definition at line 68 of file SilentFileData.cc.
Referenced by _read_file(), protocols::canonical_sampling::CanonicalSamplingMover::apply(), protocols::coarse_rna::CoarseRNA_DeNovoProtocol::initialize_tag_is_done(), protocols::rna::RNA_DeNovoProtocol::initialize_tag_is_done(), protocols::ddg::ddGMover::is_any_pdb_empty(), protocols::jd2::archive::ArchiveManager::jobs_completed(), protocols::jd2::ScoreOnlyJobOutputter::read_done_jobs(), protocols::jd2::SilentFileJobOutputter::read_done_jobs(), and protocols::jobdist::PlainSilentFileJobDistributor::startup().
| bool core::io::silent::SilentFileData::read_tags_fast | ( | std::string const & | filename, |
| utility::vector1< std::string > & | tags_in_file | ||
| ) | const |
quickly read a list of tags from a silent-input file. Only checks lines beginning with SCORE: strings.
Definition at line 85 of file SilentFileData.cc.
| void core::io::silent::SilentFileData::renumber_all_decoys | ( | ) |
renumber all of the decoys in this SilentFileData object. This obliterates decoy tag associated with every SilentStruct object, and tries to sensibly number the decoys with similar and increasingly numbered decoy tags.
Definition at line 247 of file SilentFileData.cc.
References clear_structure_map(), and structure_map_.
| void core::io::silent::SilentFileData::reverse_score_filter | ( | Real const | score_fraction) |
Definition at line 778 of file SilentFileData.cc.
References begin(), end(), structure_map_, and core::io::silent::tr().
Referenced by score_filter().
| void core::io::silent::SilentFileData::score_filter | ( | Real const | score_fraction) |
Removes the worst ( 1 - score_fraction ) percent of the decoys by score. The value of score_fraction should be between 0 and 1.0.
Definition at line 827 of file SilentFileData.cc.
References begin(), end(), reverse_score_filter(), structure_map_, and core::io::silent::tr().
|
inline |
Sets the filename that this SilentFileData object will write to.
Definition at line 184 of file SilentFileData.hh.
References filename(), and filename_.
Referenced by protocols::canonical_sampling::CanonicalSamplingMover::apply(), protocols::ddg::ddGMover::apply(), protocols::optimize_weights::IterativeOptEDriver::collect_ddG_of_mutation_data(), OPT_1GRP_KEY(), protocols::ddG::ddGData::read_mut_data(), protocols::ddG::ddGData::read_wt_data(), and protocols::ddg::ddGMover::relax_wildtype_structure().
|
inline |
Definition at line 240 of file SilentFileData.hh.
References record_source_.
| void core::io::silent::SilentFileData::set_shared_silent_data | ( | SharedSilentDataType | ssdt, |
| SharedSilentDataOP | ssd_op | ||
| ) | const |
Definition at line 766 of file SilentFileData.cc.
References shared_silent_data_.
Referenced by core::import_pose::PDBSilentStruct::init_from_lines(), core::io::silent::ScoreFileSilentStruct::init_from_lines(), core::io::silent::BinaryRNASilentStruct::init_from_lines(), core::io::silent::BinaryProteinSilentStruct::init_from_lines(), core::io::silent::RNA_SilentStruct::init_from_lines(), core::io::silent::SilentStruct::read_score_headers(), and write_silent_struct().
|
inline |
Returns the number of structures contained in this container.
Definition at line 175 of file SilentFileData.hh.
References structure_map_.
Referenced by protocols::abinitio::IterativeBase::collect_alternative_decoys(), protocols::abinitio::AbrelaxApplication::do_rerun(), protocols::canonical_sampling::mc_convergence_checks::Pool_RMSD::fill_pool(), protocols::toolbox::KClusterData::load_silent_file(), protocols::toolbox::DecoySetEvaluation::push_back_CA_xyz_from_silent_file(), and protocols::canonical_sampling::SilentTrajectoryRecorder::restart_simulation().
|
inline |
Returns true if this silent-file plans on storing option.get_argv() as a comment in the silent-file, false otherwise.
Definition at line 135 of file SilentFileData.hh.
References store_argv_in_file_.
Referenced by write_silent_struct().
|
inline |
Sets a boolean variable governing if this silent-file plans on storing option.get_argv() as a comment in the silent-file.
Definition at line 142 of file SilentFileData.hh.
References store_argv_in_file_.
|
inline |
Returns a boolean indicating whether or not the strict_column_mode is turned on when printing scores.
Definition at line 229 of file SilentFileData.hh.
References strict_column_mode_.
Referenced by protocols::abinitio::AbrelaxApplication::fold(), and write_silent_struct().
|
inline |
Sets value for strict column mode. See strict_column_mode() for more information.
Definition at line 235 of file SilentFileData.hh.
References strict_column_mode_.
| utility::vector1< std::string > core::io::silent::SilentFileData::tags | ( | ) | const |
Return all tags in this container.
Definition at line 74 of file SilentFileData.cc.
References structure_map_.
Referenced by protocols::optimize_weights::IterativeOptEDriver::collect_ddG_of_mutation_data(), protocols::ddG::ddGData::read_mut_data(), and protocols::ddG::ddGData::read_wt_data().
| void core::io::silent::SilentFileData::write_all | ( | std::string const & | filename, |
| bool | bWriteScoreOnly = false |
||
| ) | const |
write all SilentStruct objects in the structure_map_ to the given filename.
Definition at line 386 of file SilentFileData.cc.
References begin(), end(), and write_silent_struct().
Referenced by protocols::jobdist::PlainSilentFileJobDistributor::dump_silent(), protocols::abinitio::IterativeBase::gen_cen2fullatom(), protocols::abinitio::IterativeBase::gen_cen2fullatom_non_pool_decoys(), protocols::abinitio::IterativeFullatom::gen_resample_core(), protocols::abinitio::IterativeBase::gen_resample_stage2(), protocols::abinitio::HedgeArchive::save_decoys(), and protocols::jd2::archive::ArchiveManager::start_new_batch().
| void core::io::silent::SilentFileData::write_comment | ( | std::ostream & | out, |
| std::string const & | line | ||
| ) | const |
Write a comment to the given output stream.
Definition at line 370 of file SilentFileData.cc.
Referenced by write_silent_struct().
| bool core::io::silent::SilentFileData::write_silent_struct | ( | SilentStruct & | s, |
| std::string const & | filename, | ||
| bool | bWriteScoreOnly = false |
||
| ) | const |
Write the given silent-struct to the given outfile.
Definition at line 268 of file SilentFileData.cc.
References core::io::silent::SilentStruct::print_header(), core::io::silent::SilentStruct::print_score_header(), store_argv_in_file(), and write_comment().
Referenced by _write_silent_struct(), protocols::loophash::Mover_LoopHashRefine::apply(), protocols::loophash::LoopHashLibrary::apply(), protocols::ddg::ddGMover::apply(), protocols::abinitio::AbrelaxApplication::do_distributed_rerun(), protocols::canonical_sampling::CanonicalSamplingMover::dump_decoy_or_score(), protocols::loophash::MPI_LoopHashRefine::dump_structures(), protocols::star::emit_intermediate(), protocols::canonical_sampling::mc_convergence_checks::HPool_RMSD::evaluate(), protocols::jd2::SilentFileJobOutputter::final_pose(), protocols::abinitio::AbrelaxApplication::fold(), protocols::medal::on_pose_accept(), OPT_1GRP_KEY(), protocols::jd2::SilentFileJobOutputter::other_pose(), protocols::swa::rna::Output_data(), protocols::abinitio::Protocol::output_debug_structure(), protocols::loops::loop_closure::ccd::SlidingWindowLoopClosure::output_debug_structure(), protocols::relax::RelaxProtocolBase::output_debug_structure(), protocols::abinitio::MembraneAbinitio::output_debug_structure(), protocols::frag_picker::FragmentCandidate::output_silent(), protocols::swa::protein::output_silent_struct(), protocols::rna::RNA_DeNovoProtocol::output_silent_struct(), protocols::wum::MPI_Relax::process_inbound_wus_master(), protocols::ddg::ddGMover::relax_wildtype_structure(), protocols::abinitio::run_boinc_debug(), protocols::wum::SilentStructStore::serialize(), protocols::jobdist::universal_main(), protocols::outputter::SilentFileOutputter::write(), write_all(), and protocols::jd2::write_score_tracer().
| bool core::io::silent::SilentFileData::write_silent_struct | ( | SilentStruct & | s, |
| std::ostream & | out, | ||
| bool | bWriteScoreOnly = false |
||
| ) | const |
Write the given silent-struct to the given ostream.
Definition at line 321 of file SilentFileData.cc.
References core::io::silent::EnergyNames::energy_names(), core::io::silent::SilentStruct::energy_names(), core::io::silent::energynames, get_shared_silent_data(), has_shared_silent_data(), core::io::silent::SilentStruct::print_conformation(), core::io::silent::SilentStruct::print_header(), core::io::silent::SilentStruct::print_scores(), set_shared_silent_data(), core::io::silent::SilentStruct::set_valid_energies(), and strict_column_mode().
|
private |
Definition at line 51 of file SilentFileData.hh.
Referenced by clear(), comment_line(), comment_lines(), and read_stream().
|
private |
Definition at line 54 of file SilentFileData.hh.
Referenced by clear(), filename(), and set_filename().
|
private |
Definition at line 57 of file SilentFileData.hh.
Referenced by read_stream(), and set_record_source().
|
mutableprivate |
Definition at line 53 of file SilentFileData.hh.
Referenced by clear(), get_shared_silent_data(), has_shared_silent_data(), and set_shared_silent_data().
|
private |
Definition at line 58 of file SilentFileData.hh.
Referenced by check_if_rna_from_sequence_line(), create_SilentStructOP(), and read_silent_struct_type_from_remark().
|
private |
Definition at line 55 of file SilentFileData.hh.
Referenced by clear(), and store_argv_in_file().
|
private |
Definition at line 56 of file SilentFileData.hh.
Referenced by clear(), and strict_column_mode().
|
private |
Definition at line 50 of file SilentFileData.hh.
Referenced by add_structure(), begin(), clear_structure_map(), end(), get_structure(), has_tag(), operator[](), order_by_energy(), read_stream(), renumber_all_decoys(), reverse_score_filter(), score_filter(), size(), and tags().
1.8.4