9 #ifndef RNAMAKE_LIB_RNAMAKE_SRC_STRUCTURE_RNA_STRUCTURE_H_
10 #define RNAMAKE_LIB_RNAMAKE_SRC_STRUCTURE_RNA_STRUCTURE_H_
16 #include "structure/structure.h"
17 #include "structure/basepair.h"
18 #include "structure/residue.h"
26 StructureOP
const & structure,
27 BasepairOPs
const & basepairs,
28 BasepairOPs
const & ends):
29 structure_(structure),
30 basepairs_(basepairs),
75 beads_ = structure_->get_beads(res);
83 atoms() {
return structure_->atoms(); }
87 residues() {
return structure_->residues(); }
90 chains() {
return structure_->chains(); }
96 String
const & chain_id,
97 String
const & i_code) {
98 return structure_->get_residue(num, chain_id, i_code);
105 return structure_->get_residue(uuid);
121 ends()
const {
return ends_; }
125 end_ids()
const {
return end_ids_; }
129 name()
const {
return name_; }
133 path()
const {
return path_; }
137 basepairs()
const {
return basepairs_; }
141 beads()
const {
return beads_; }
145 score()
const {
return score_; }
151 name(String
const & nname) { name_ = nname; }
155 path(String
const & npath) { path_ = npath; }
159 score(
float const & nscore) { score_ = nscore; }
163 end_ids(Strings
const & end_ids) {
169 ends(BasepairOPs
const & ends) { ends_ = ends; }
173 StructureOP structure_;
174 BasepairOPs basepairs_, ends_;
183 typedef std::shared_ptr<RNAStructure> RNAStructureOP;
185 std::unique_ptr<BasepairOPs>
188 BasepairOPs
const &);
190 std::unique_ptr<BasepairOPs>
191 subselect_basepairs_with_res(
193 BasepairOPs
const &);
Definition: rna_structure.h:20