Rosetta
Functions
protocols::enzdes::enzutil Namespace Reference

Functions

static basic::Tracer tr ("protocols.enzdes.enzdes_util")
 
bool is_catalytic_seqpos (core::pose::Pose const &pose, core::Size const seqpos)
 queries whether a certain position is considered catalytic, i.e. if the residue is constrained according to the enzdes constraint file More...
 
utility::vector1< core::Sizecatalytic_res (core::pose::Pose const &pose)
 
core::Real sum_constraint_scoreterms (core::pose::Pose const &pose, int which_res)
 sums up coordinate, atom_pair, angle, and dihedral constraint scores for the residue in question. in case which_res is -1, the scores for the whole pose will be taken More...
 
void read_pose_from_file (core::pose::Pose &pose, std::string const &filename)
 convenience function to read in a pose for enzdes this function basically just calls pose_from_pdb, but it will create an enzdes cacheable observer in the pose, also, 1, if a multimodel pdb is requested, if there are different ligand positions, these will be saved in the enzdes cacheable observer and 2, if option additional_packing_ligand_rb_confs is active, random ligand rigid body confs will be generated and added to the cacheable observer More...
 
void make_continuous_true_regions_in_bool_vector (utility::vector1< bool > &the_vector, core::Size const min_number_continuous_trues)
 
core::pack::task::PackerTaskOP recreate_task (core::pose::Pose const &pose, core::pack::task::PackerTask const &orig_task)
 
toolbox::match_enzdes_util::EnzConstraintIOCOP get_enzcst_io (core::pose::Pose const &pose)
 convenience function to get enzdes cst io out of cst cache. note: may return empty pointer in case cst cache wasn't set yet More...
 
void remove_remark_header_for_geomcst (core::pose::Pose &pose, core::Size geomcst)
 
void create_remark_headers_from_cstcache (core::pose::Pose &pose)
 function to write proper remark headers from whatever is found in the pose cstcache More...
 
std::string get_pdb_code_from_pose_tag (core::pose::Pose const &pose)
 
void disable_constraint_scoreterms (core::scoring::ScoreFunctionOP scorefxn)
 
void enable_constraint_scoreterms (core::scoring::ScoreFunctionOP scorefxn)
 
bool is_scofx_cstfied (core::scoring::ScoreFunctionCOP scorefxn)
 
void scorefxn_update_from_options (core::scoring::ScoreFunctionOP scorefxn)
 
void remove_all_enzdes_constraints (core::pose::Pose &pose)
 
void get_resnum_from_cstid_list (std::string const &cstidlist, core::pose::Pose const &pose, utility::vector1< core::Size > &resnums)
 
core::Size get_resnum_from_cstid (std::string const &cstid, core::pose::Pose const &pose)
 Extracts residue number from cstid string @detail Expects cstid string to be of format [0-9]+[A-Z], where the number is constraint number and trailing letter is temlplate id i.e. either A or B. More...
 

Function Documentation

◆ catalytic_res()

utility::vector1< core::Size > protocols::enzdes::enzutil::catalytic_res ( core::pose::Pose const &  pose)

◆ create_remark_headers_from_cstcache()

void protocols::enzdes::enzutil::create_remark_headers_from_cstcache ( core::pose::Pose pose)

◆ disable_constraint_scoreterms()

void protocols::enzdes::enzutil::disable_constraint_scoreterms ( core::scoring::ScoreFunctionOP  scorefxn)

◆ enable_constraint_scoreterms()

void protocols::enzdes::enzutil::enable_constraint_scoreterms ( core::scoring::ScoreFunctionOP  scorefxn)

◆ get_enzcst_io()

toolbox::match_enzdes_util::EnzConstraintIOCOP protocols::enzdes::enzutil::get_enzcst_io ( core::pose::Pose const &  pose)

convenience function to get enzdes cst io out of cst cache. note: may return empty pointer in case cst cache wasn't set yet

References protocols::toolbox::match_enzdes_util::get_enzdes_observer().

Referenced by protocols::enzdes::SecondaryMatchProtocol::do_matching(), and protocols::enzdes::EnzdesBaseProtocol::enzdes_pack().

◆ get_pdb_code_from_pose_tag()

std::string protocols::enzdes::enzutil::get_pdb_code_from_pose_tag ( core::pose::Pose const &  pose)

@detail function not implemented very slick at the moment, need to find way to compile boost regex library :(( @detail to extract the pdb code from the pose tag without a regular expression module, some explicit functions @detail have been written below

References core::pose::Pose::data(), protocols::kinmatch::str(), and tr().

Referenced by protocols::enzdes::DesignVsNativeComparison::compare_to_native().

◆ get_resnum_from_cstid()

core::Size protocols::enzdes::enzutil::get_resnum_from_cstid ( std::string const &  cstid,
core::pose::Pose const &  pose 
)

Extracts residue number from cstid string @detail Expects cstid string to be of format [0-9]+[A-Z], where the number is constraint number and trailing letter is temlplate id i.e. either A or B.

  • see enzdes style REMARKs format used to specify match type constraint between two residues (template A and template B)

References protocols::toolbox::match_enzdes_util::get_enzdes_observer(), and core::pose::Pose::size().

Referenced by protocols::enzdes::EnzScoreFilter::compute(), and get_resnum_from_cstid_list().

◆ get_resnum_from_cstid_list()

void protocols::enzdes::enzutil::get_resnum_from_cstid_list ( std::string const &  cstidlist,
core::pose::Pose const &  pose,
utility::vector1< core::Size > &  resnums 
)

◆ is_catalytic_seqpos()

bool protocols::enzdes::enzutil::is_catalytic_seqpos ( core::pose::Pose const &  pose,
core::Size const  seqpos 
)

◆ is_scofx_cstfied()

bool protocols::enzdes::enzutil::is_scofx_cstfied ( core::scoring::ScoreFunctionCOP  scorefxn)

◆ make_continuous_true_regions_in_bool_vector()

void protocols::enzdes::enzutil::make_continuous_true_regions_in_bool_vector ( utility::vector1< bool > &  the_vector,
core::Size const  min_number_continuous_trues 
)

◆ read_pose_from_file()

void protocols::enzdes::enzutil::read_pose_from_file ( core::pose::Pose pose,
std::string const &  filename 
)

convenience function to read in a pose for enzdes this function basically just calls pose_from_pdb, but it will create an enzdes cacheable observer in the pose, also, 1, if a multimodel pdb is requested, if there are different ligand positions, these will be saved in the enzdes cacheable observer and 2, if option additional_packing_ligand_rb_confs is active, random ligand rigid body confs will be generated and added to the cacheable observer

References protocols::enzdes::GenerateStoredRBConfs::apply(), core::conformation::Residue::chain(), protocols::abinitio::filename(), protocols::toolbox::match_enzdes_util::get_enzdes_observer(), core::conformation::Residue::is_ligand(), core::pose::Pose::pdb_info(), core::import_pose::pose_from_file(), core::pose::Pose::residue(), core::pose::Pose::size(), and tr().

Referenced by protocols::enzdes::EnzdesJobInputter::pose_from_job().

◆ recreate_task()

core::pack::task::PackerTaskOP protocols::enzdes::enzutil::recreate_task ( core::pose::Pose const &  pose,
core::pack::task::PackerTask const &  orig_task 
)

◆ remove_all_enzdes_constraints()

void protocols::enzdes::enzutil::remove_all_enzdes_constraints ( core::pose::Pose pose)

◆ remove_remark_header_for_geomcst()

void protocols::enzdes::enzutil::remove_remark_header_for_geomcst ( core::pose::Pose pose,
core::Size  geomcst 
)

◆ scorefxn_update_from_options()

void protocols::enzdes::enzutil::scorefxn_update_from_options ( core::scoring::ScoreFunctionOP  scorefxn)

◆ sum_constraint_scoreterms()

core::Real protocols::enzdes::enzutil::sum_constraint_scoreterms ( core::pose::Pose const &  pose,
int  which_res 
)

◆ tr()

static basic::Tracer protocols::enzdes::enzutil::tr ( "protocols.enzdes.enzdes_util"  )
static