Rosetta
|
#include <StructFileRep.hh>
Public Types | |
typedef std::map< std::string, core::Real > | ResidueTemps |
typedef std::map< std::string, Vector > | ResidueCoords |
typedef std::map< std::string, ResidueCoords > | Coords |
typedef utility::vector1< std::string > | Strings |
Public Member Functions | |
StructFileRep () | |
Constructor. More... | |
~StructFileRep () override | |
empty destructor in C++ file to reduce number of necessary includes. More... | |
StructFileRepOP | clone () const |
Create a copy and return an owning pointer to the copy. More... | |
std::string const & | filename () const |
Access the name of the input/output file, if any. More... | |
std::string & | filename () |
std::string const & | modeltag () const |
Access the model tag. More... | |
std::string & | modeltag () |
HeaderInformationCOP | header () const |
Access HEADER, TITLE, EXPDTA, KEYWDS, COMPND, and AUTHOR records. More... | |
HeaderInformationOP & | header () |
RemarksCOP | remarks () const |
Access PDB remarks. More... | |
RemarksOP & | remarks () |
std::map< char, utility::vector1< std::string > > const & | chain_sequences () const |
Access the sequences for each chain. More... | |
std::map< char, utility::vector1< std::string > > & | chain_sequences () |
std::map< std::string, ModifiedResidueInformation > const & | modres_map () const |
Access map for storing MODRES records. More... | |
std::map< std::string, ModifiedResidueInformation > & | modres_map () |
std::map< std::string, std::string > const & | heterogen_names () const |
Access map for storing HETNAM records. More... | |
std::map< std::string, std::string > & | heterogen_names () |
std::map< std::string, utility::vector1< std::string > > const & | heterogen_synonyms () const |
Access map for storing HETSYN records. More... | |
std::map< std::string, utility::vector1< std::string > > & | heterogen_synonyms () |
std::map< std::string, std::string > const & | heterogen_formulae () const |
Access map for storing FORMUL records. More... | |
std::map< std::string, std::string > & | heterogen_formulae () |
std::map< std::string, std::pair< std::string, std::string > > const & | residue_type_base_names () const |
Access map for storing ResidueType base (non-variant) names; parsed from HETNAM records: More... | |
std::map< std::string, std::pair< std::string, std::string > > & | residue_type_base_names () |
std::map< std::string, char > const & | default_mainchain_connectivity () const |
Access map for storing the default main-chain connectivity for this residue, if provided by alternate 3-letter code files: More... | |
std::map< std::string, char > & | default_mainchain_connectivity () |
utility::vector1< HELIXInformation > const & | HELIXInformations () const |
Access map for storing HELIX records. More... | |
utility::vector1< HELIXInformation > & | HELIXInformations () |
utility::vector1< SHEETInformation > const & | SHEETInformations () const |
Access map for storing SHEET records. More... | |
utility::vector1< SHEETInformation > & | SHEETInformations () |
std::map< std::string, utility::vector1< SSBondInformation > > const & | ssbond_map () const |
Access map for storing SSBOND records. More... | |
std::map< std::string, utility::vector1< SSBondInformation > > & | ssbond_map () |
std::map< std::string, utility::vector1< LinkInformation > > const & | link_map () const |
Access map for storing LINK records. More... | |
std::map< std::string, utility::vector1< LinkInformation > > & | link_map () |
std::map< std::string, CisPeptideInformation > const & | cispep_map () const |
Access map for storing CISPEP records. More... | |
std::map< std::string, CisPeptideInformation > & | cispep_map () |
CrystInfo const & | crystinfo () const |
Access crystallographic information. More... | |
CrystInfo & | crystinfo () |
utility::vector0< ChainAtoms > const & | chains () const |
Access the actual atomic coordinates, stored as chains. More... | |
utility::vector0< ChainAtoms > & | chains () |
std::string const & | foldtree_string () const |
Access the The foldtree, represented as a string. More... | |
std::string & | foldtree_string () |
std::map< std::string, std::string > const & | pdb_comments () const |
The PDB comments, represented as a map of string->string. More... | |
std::map< std::string, std::string > & | pdb_comments () |
utility::vector1< std::string > const & | score_table_labels () const |
Pose Energies Table lables. More... | |
utility::vector1< std::string > & | score_table_labels () |
utility::vector1< core::Real > const & | score_table_weights () const |
Pose Energies Table weights. More... | |
utility::vector1< core::Real > & | score_table_weights () |
utility::vector1< std::vector< std::string > > const & | score_table_lines () const |
Pose Energies Table lines (Yes, std::vector is appropriate to help for cif writing of the colunns.) More... | |
utility::vector1< std::vector< std::string > > & | score_table_lines () |
std::string const & | score_table_filename () const |
Pose Energies table filename for PDB output. More... | |
std::string & | score_table_filename () |
std::map< std::string, std::string > const & | pose_cache_string_data () const |
Pose Cache - String Data. More... | |
std::map< std::string, std::string > & | pose_cache_string_data () |
std::map< std::string, Real > const & | pose_cache_real_data () const |
Pose Cache - Float Data. More... | |
std::map< std::string, Real > & | pose_cache_real_data () |
std::string const & | additional_string_output () const |
A catch-all place to store additional data for output. More... | |
std::string & | additional_string_output () |
simple_metrics::SimpleMetricStruct const & | simple_metric_data () const |
simple_metrics::SimpleMetricStruct & | simple_metric_data () |
void | append_to_additional_string_output (std::string const &input_string) |
Append more string data to the additional_string_output_ string in the SFR. More... | |
Private Attributes | |
std::string | filename_ |
std::string | modeltag_ |
HeaderInformationOP | header_ |
RemarksOP | remarks_ |
std::map< char, utility::vector1< std::string > > | chain_sequences_ |
std::map< std::string, ModifiedResidueInformation > | modres_map_ |
std::map< std::string, std::string > | heterogen_names_ |
std::map< std::string, utility::vector1< std::string > > | heterogen_synonyms_ |
std::map< std::string, std::string > | heterogen_formulae_ |
std::map< std::string, std::pair< std::string, std::string > > | residue_type_base_names_ |
std::map< std::string, char > | default_mainchain_connectivity_ |
utility::vector1< HELIXInformation > | HELIXInformations_ |
utility::vector1< SHEETInformation > | SHEETInformations_ |
std::map< std::string, utility::vector1< SSBondInformation > > | ssbond_map_ |
std::map< std::string, utility::vector1< LinkInformation > > | link_map_ |
std::map< std::string, CisPeptideInformation > | cispep_map_ |
CrystInfo | crystinfo_ |
utility::vector0< ChainAtoms > | chains_ |
std::string | foldtree_string_ |
std::map< std::string, std::string > | pdb_comments_ |
utility::vector1< std::string > | score_table_labels_ |
utility::vector1< core::Real > | score_table_weights_ |
utility::vector1< std::vector< std::string > > | score_table_lines_ |
std::string | score_table_filename_ |
std::map< std::string, std::string > | pose_cache_string_data_ |
std::map< std::string, Real > | pose_cache_real_data_ |
std::string | additional_string_output_ |
simple_metrics::SimpleMetricStruct | simple_metric_data_ |
This class is designed to store information about a structure in a "non-Rosetta" way, such that it can serve as an intermediary between various file formats and a Pose.
typedef std::map< std::string, ResidueCoords > core::io::StructFileRep::Coords |
typedef std::map< std::string, Vector > core::io::StructFileRep::ResidueCoords |
typedef std::map< std::string, core::Real > core::io::StructFileRep::ResidueTemps |
typedef utility::vector1< std::string > core::io::StructFileRep::Strings |
core::io::StructFileRep::StructFileRep | ( | ) |
Constructor.
|
overridedefault |
empty destructor in C++ file to reduce number of necessary includes.
|
inline |
References additional_string_output_.
|
inline |
A catch-all place to store additional data for output.
Each file outputter must figure out how to write this out in its output format.
References additional_string_output_.
Referenced by core::io::pdb::create_records_from_sfr().
void core::io::StructFileRep::append_to_additional_string_output | ( | std::string const & | input_string | ) |
Append more string data to the additional_string_output_ string in the SFR.
Retains all string data already added.
References additional_string_output_.
|
inline |
References chain_sequences_.
|
inline |
Access the sequences for each chain.
References chain_sequences_.
Referenced by core::io::pose_from_sfr::PoseFromSFRBuilder::build_pdb_info_1_everything_but_temps(), and core::io::pdb::store_chain_sequence_record_in_sfr().
|
inline |
References chains_.
|
inline |
Access the actual atomic coordinates, stored as chains.
References chains_.
Referenced by core::io::mmtf::aiPose_from_sfr(), core::io::pdb::create_records_from_sfr(), core::io::pdb::create_sfr_from_pdb_records(), core::io::pose_from_sfr::create_working_data(), protocols::electron_density::dump_points_to_search_to_pdb_or_txt(), protocols::chromophore::ReadResidueCoordinatesFromPDB::read_coordinates(), and core::io::mmtf::update_bond_indices().
|
inline |
References cispep_map_.
|
inline |
Access map for storing CISPEP records.
Key is 6-character resID of 1st residue in the peptide bond.
References cispep_map_.
Referenced by core::io::pdb::store_cis_peptide_record_in_sfr().
StructFileRepOP core::io::StructFileRep::clone | ( | ) | const |
Create a copy and return an owning pointer to the copy.
Uses the compiler-default copy constructor.
Referenced by core::import_pose::PDBSilentStruct::init_from_lines(), core::import_pose::atom_tree_diffs::pose_from_atom_tree_diff(), and core::import_pose::PDBSilentStruct::struct_file_rep().
|
inline |
References crystinfo_.
|
inline |
Access crystallographic information.
References crystinfo_.
Referenced by core::io::pose_from_sfr::PoseFromSFRBuilder::build_pdb_info_1_everything_but_temps(), core::io::pdb::create_records_from_sfr(), and core::io::pdb::store_crystallographic_parameter_record_in_sfr().
|
inline |
References default_mainchain_connectivity_.
|
inline |
Access map for storing the default main-chain connectivity for this residue, if provided by alternate 3-letter code files:
key is 6-character resID
value is a char of a single-digit integer
References default_mainchain_connectivity_.
Referenced by core::io::pose_from_sfr::PoseFromSFRBuilder::determine_residue_branching_info(), and core::io::pose_from_sfr::PoseFromSFRBuilder::pre_process_residue_type_information().
|
inline |
References filename_.
|
inline |
Access the name of the input/output file, if any.
References filename_.
Referenced by core::io::pose_from_sfr::PoseFromSFRBuilder::build_pdb_info_1_everything_but_temps(), core::io::pdb::build_pose_from_pdb_as_is(), core::io::pose_from_sfr::PoseFromSFRBuilder::pass_5_note_discarded_atoms(), and core::import_pose::atom_tree_diffs::pose_from_atom_tree_diff().
|
inline |
References foldtree_string_.
|
inline |
Access the The foldtree, represented as a string.
Each file outputter must figure out how to write this out in its output format.
References foldtree_string_.
Referenced by core::io::pdb::create_records_from_sfr().
|
inline |
References header_.
|
inline |
Access HEADER, TITLE, EXPDTA, KEYWDS, COMPND, and AUTHOR records.
"header" is a misnomer, as it actually stores HEADER, TITLE, EXPDTA, KEYWDS, COMPND, and AUTHOR records.
References header_.
Referenced by core::io::pose_from_sfr::PoseFromSFRBuilder::build_pdb_info_1_everything_but_temps(), core::io::pdb::create_records_from_sfr(), and core::io::pdb::create_sfr_from_pdb_records().
|
inline |
References HELIXInformations_.
|
inline |
Access map for storing HELIX records.
These records should be essentially correct, unlike the SHEET records. NOTE that they are NOT read from the PDB by PoseFromStructFileRepConverter, only generated FROM the pose in PoseToStructFileRepConverter.
References HELIXInformations_.
Referenced by core::io::pdb::create_records_from_sfr().
|
inline |
References heterogen_formulae_.
|
inline |
Access map for storing FORMUL records.
key is hetID
value is the chemical formula, including a potential asterisk character
References heterogen_formulae_.
Referenced by core::io::pdb::store_formula_record_in_sfr().
|
inline |
References heterogen_names_.
|
inline |
Access map for storing HETNAM records.
key is hetID
value is the chemical name field
References heterogen_names_.
Referenced by core::io::pdb::create_records_from_sfr(), and core::io::pdb::store_heterogen_name_record_in_sfr().
|
inline |
References heterogen_synonyms_.
|
inline |
Access map for storing HETSYN records.
key is hetID
value is the chemical synonym list field
References heterogen_synonyms_.
Referenced by core::io::pdb::store_heterogen_synonym_record_in_sfr().
|
inline |
References link_map_.
|
inline |
Access map for storing LINK records.
Key is 6-character resID of 1st residue in link.
References link_map_.
Referenced by core::io::mmtf::add_link_and_ss_information(), core::io::pdb::create_records_from_sfr(), core::pose::get_constraints_from_link_records(), core::io::pose_from_sfr::PoseFromSFRBuilder::lower_terminus_is_occupied_according_to_link_map(), core::io::pose_from_sfr::PoseFromSFRBuilder::pre_process_residue_type_information(), core::io::pose_from_sfr::PoseFromSFRBuilder::setup(), core::io::pdb::store_link_record_in_sfr(), and core::io::pose_from_sfr::PoseFromSFRBuilder::upper_terminus_is_occupied_according_to_link_map().
|
inline |
References modeltag_.
|
inline |
Access the model tag.
References modeltag_.
Referenced by core::io::pose_from_sfr::PoseFromSFRBuilder::build_pdb_info_1_everything_but_temps(), and core::io::pdb::create_sfr_from_pdb_records().
|
inline |
References modres_map_.
|
inline |
Access map for storing MODRES records.
Key is 6-character resID of the modified residue.
References modres_map_.
Referenced by core::io::pdb::store_mod_res_record_in_sfr().
|
inline |
References pdb_comments_.
|
inline |
The PDB comments, represented as a map of string->string.
Each file outputter must figure out how to write this out in its output format.
References pdb_comments_.
Referenced by core::io::pdb::create_records_from_sfr(), core::io::pose_from_sfr::PoseFromSFRBuilder::refine_pose(), and core::io::pdb::store_unknown_records_in_sfr().
|
inline |
References pose_cache_real_data_.
|
inline |
Pose Cache - Float Data.
Each file outputter must figure out how to write this out in its output format.
References pose_cache_real_data_.
Referenced by core::io::pdb::create_records_from_sfr(), core::io::pose_data_cache_from_sfr(), and core::io::pose_from_sfr::PoseFromSFRBuilder::refine_pose().
|
inline |
References pose_cache_string_data_.
|
inline |
Pose Cache - String Data.
Each file outputter must figure out how to write this out in its output format.
References pose_cache_string_data_.
Referenced by core::io::pdb::create_records_from_sfr(), core::io::pose_data_cache_from_sfr(), and core::io::pose_from_sfr::PoseFromSFRBuilder::refine_pose().
|
inline |
Access PDB remarks.
References remarks_.
Referenced by core::io::pose_from_sfr::PoseFromSFRBuilder::build_pdb_info_1_everything_but_temps(), core::io::pdb::create_records_from_sfr(), and core::io::pdb::create_sfr_from_pdb_records().
|
inline |
References residue_type_base_names_.
|
inline |
Access map for storing ResidueType base (non-variant) names; parsed from HETNAM records:
key is 6-character resID
first value of pair is 3-letter-code; second value of pair is the base_name.
References residue_type_base_names_.
Referenced by core::io::pdb::create_records_from_sfr(), core::io::pose_from_sfr::PoseFromSFRBuilder::determine_residue_branching_info(), core::io::pose_from_sfr::PoseFromSFRBuilder::get_rsd_type(), core::io::pose_from_sfr::PoseFromSFRBuilder::pass_1_split_and_merge_residues_as_necessary(), core::io::pose_from_sfr::PoseFromSFRBuilder::pass_2_quick_and_dirty_resolve_residue_types(), core::io::pose_from_sfr::PoseFromSFRBuilder::pre_process_residue_type_information(), and core::io::pdb::store_base_residue_type_name_in_sfr().
|
inline |
References score_table_filename_.
|
inline |
Pose Energies table filename for PDB output.
References score_table_filename_.
Referenced by core::io::pose_energies_from_sfr().
|
inline |
References score_table_labels_.
|
inline |
Pose Energies Table lables.
Each file outputter must figure out how to write this out in its output format.
References score_table_labels_.
Referenced by core::io::pdb::create_records_from_sfr(), and core::io::pose_energies_from_sfr().
|
inline |
References score_table_lines_.
|
inline |
Pose Energies Table lines (Yes, std::vector is appropriate to help for cif writing of the colunns.)
Each file outputter must figure out how to write this out in its output format.
References score_table_lines_.
Referenced by core::io::pdb::create_records_from_sfr(), and core::io::pose_energies_from_sfr().
|
inline |
References score_table_weights_.
|
inline |
Pose Energies Table weights.
Each file outputter must figure out how to write this out in its output format.
References score_table_weights_.
Referenced by core::io::pose_energies_from_sfr().
|
inline |
References SHEETInformations_.
|
inline |
Access map for storing SHEET records.
These records are cheating on the PDB rules and just storing individual strands as 1-strand sheets. NOTE that they are NOT read from the PDB by PoseFromStructFileRepConverter, only generated FROM the pose in PoseToStructFileRepConverter.
References SHEETInformations_.
Referenced by core::io::pdb::create_records_from_sfr().
|
inline |
References simple_metric_data_.
|
inline |
References simple_metric_data_.
Referenced by core::io::pose_from_sfr::PoseFromSFRBuilder::refine_pose().
|
inline |
References ssbond_map_.
|
inline |
Access map for storing SSBOND records.
key is 6-character resID of 1st residue in ssbond
References ssbond_map_.
Referenced by core::io::mmtf::add_link_and_ss_information(), core::io::pdb::create_records_from_sfr(), core::pose::disulfide_pairs_from_sfr(), and core::io::pdb::store_ssbond_record_in_sfr().
|
private |
Referenced by additional_string_output(), and append_to_additional_string_output().
|
private |
Referenced by chain_sequences().
|
private |
Referenced by chains().
|
private |
Referenced by cispep_map().
|
private |
Referenced by crystinfo().
|
private |
Referenced by default_mainchain_connectivity().
|
private |
Referenced by filename().
|
private |
Referenced by foldtree_string().
|
private |
Referenced by header().
|
private |
Referenced by HELIXInformations().
|
private |
Referenced by heterogen_formulae().
|
private |
Referenced by heterogen_names().
|
private |
Referenced by heterogen_synonyms().
|
private |
Referenced by link_map().
|
private |
Referenced by modeltag().
|
private |
Referenced by modres_map().
|
private |
Referenced by pdb_comments().
|
private |
Referenced by pose_cache_real_data().
|
private |
Referenced by pose_cache_string_data().
|
private |
Referenced by residue_type_base_names().
|
private |
Referenced by score_table_filename().
|
private |
Referenced by score_table_labels().
|
private |
Referenced by score_table_lines().
|
private |
Referenced by score_table_weights().
|
private |
Referenced by SHEETInformations().
|
private |
Referenced by simple_metric_data().
|
private |
Referenced by ssbond_map().