Rosetta
Namespaces | Functions
selection.cc File Reference

pose residue selections More...

#include <core/pose/selection.hh>
#include <core/types.hh>
#include <core/pose/Pose.hh>
#include <core/pose/ResidueIndexDescription.hh>
#include <core/select/residue_selector/ResidueIndexSelector.hh>
#include <basic/Tracer.hh>
#include <utility/string_util.hh>
#include <utility/vector1.hh>
#include <utility/tag/Tag.hh>
#include <utility/tag/XMLSchemaGeneration.hh>
#include <core/conformation/Residue.hh>

Namespaces

 core
 A class for reading in the atom type properties.
 
 core::pose
 

Functions

static basic::Tracer TR ("core.pose.selection")
 
ResidueIndexDescriptionCOP core::pose::parse_resnum (std::string const &resnum, bool const check_for_refpose=false)
 Creates a ResidueIndexDescription from a string @detail Recognizes three forms of numbering: More...
 
core::Size core::pose::parse_resnum (std::string const &resnum, core::pose::Pose const &pose, bool const check_for_refpose=false)
 Extracts a residue number from a string. @detail Recognizes three forms of numbering: More...
 
utility::vector1< core::Sizecore::pose::parse_selection_block (std::string const &sele, core::pose::Pose const &pose)
 Extracts residue numbers from a 'selection'. @detail Recognizes two forms of numbering: More...
 
set< Sizecore::pose::get_resnum_list (std::string const &str, core::pose::Pose const &pose)
 returns a resnum list directly from a string More...
 
utility::vector1< Sizecore::pose::get_resnum_list_ordered (std::string const &str, core::pose::Pose const &pose)
 returns a resnum list directly from a string, preserving order More...
 
bool core::pose::is_referencepose_number (std::string const &str, std::string &refpose_string, core::Size &refpose_resnumber, signed long &refpose_offset)
 Is a string of the format "refpose(<refposename>,<refposenumber>)" or "refpose(<refposename>,<refposenumber>)+/-<number>"? More...
 
core::Size core::pose::get_resnumber_from_reference_pose (std::string const &refpose_name, core::Size const refpose_number, signed long const refpose_offset, core::pose::Pose const &pose)
 Given the name of a ReferencePose object in the pose, a residue number in that reference pose, and a residue offset, this function returns the Rosetta number of the corresponding residue in the pose. Should throw an error if the ReferencePose doesn't exist in the pose, or 0 if no corresponding residue exists in the pose. More...
 
std::string core::pose::get_resnum_string (utility::tag::TagCOP tag_ptr, std::string const &prefix="")
 DEPRECATED - provided for legacy usage only. Don't use for new code. Instead, just use a single option which uses the parse_resnum syntax to specify. More...
 
std::string core::pose::get_resnum_string (utility::tag::TagCOP tag_ptr, std::string const &prefix, std::string const &default_value)
 DEPRECATED - provided for legacy usage only. Don't use for new code. Instead, just use a single option which uses parse_resnum syntax to specify. More...
 
core::select::residue_selector::ResidueSelectorOP core::pose::get_resnum_selector (utility::tag::TagCOP tag_ptr, std::string const &tag)
 
void core::pose::attributes_for_get_resnum_string (utility::tag::AttributeList &attlist, std::string const &prefix)
 Companion function for get_resnum. More...
 
void core::pose::attributes_for_get_resnum_selector (utility::tag::AttributeList &attlist, utility::tag::XMLSchemaDefinition &xsd, string const &tag, string const &description)
 Companion function for get_resnum_list. More...
 
void core::pose::attributes_for_parse_resnum (utility::tag::AttributeList &attlist, std::string const &att_name, std::string const &description="")
 Companion function for parse_resnum. More...
 

Detailed Description

pose residue selections

Author
Sarel Fleishman (sarel.nosp@m.f@u..nosp@m.washi.nosp@m.ngto.nosp@m.n.edu)
Jacob Corn (jecor.nosp@m.n@u..nosp@m.washi.nosp@m.ngto.nosp@m.n.edu)
Rocco Moretti (rmore.nosp@m.tti@.nosp@m.u.was.nosp@m.hing.nosp@m.ton.e.nosp@m.du)
Eva-Maria Strauch (evas0.nosp@m.1@uw.nosp@m..edu)

Function Documentation

◆ TR()

static basic::Tracer TR ( "core.pose.selection"  )
static