Rosetta 3.5
|
#include <Interface.hh>
Public Types | |
typedef core::pack::task::PackerTaskOP | PackerTaskOP |
typedef core::Real | Real |
Public Member Functions | |
Interface () | |
Interface (Size const jump_number_in) | |
Interface (ObjexxFCL::FArray1D_bool partner) | |
void | jump (Size const jump_number) |
core::Size | jump_id () const |
void | calculate (core::pose::Pose const &pose) |
base for calculating the interface More... | |
void | print (core::pose::Pose const &pose) |
print out the interface information More... | |
void | show (core::pose::Pose const &pose) |
void | set_pack (core::pose::Pose const &pose, PackerTaskOP task) |
sets up which residues are to be packed More... | |
core::Size | closest_interface_residue (core::pose::Pose const &pose, core::Size src_rsd, core::Real &distance) |
find the nearest residue at the interface to a given residue More... | |
void | distance (Real const distance_in) |
core::Vector | center (core::pose::Pose const &pose) |
calculates the center of mass of interface residues More... | |
bool | is_interface (core::conformation::Residue const &rsd) const |
bool | is_interface (Size const position) const |
Size | interface_nres () |
returns the total number of residues on both sides of the interface for a given jump More... | |
bool | is_pair (core::conformation::Residue const &rsd1, core::conformation::Residue const &rsd2) |
returns whether the rsd1 and rsd2 are considered a contact pair based on contact_list_ array More... | |
void | set_symmetric_pack (core::pose::Pose const &pose, PackerTaskOP task) |
utility::vector1 < utility::vector1_int > | pair_list () |
Get two lists containing the residues on each side of the interface. More... | |
utility::vector1 < utility::vector1_size > | contact_list () |
The contact_list is pose.total_residue() long, each element (contact_list_[i]) contains a list of residues from the other partner that interacts with residue i. This is calculated in protein_calculate, and used by Interface.is_pair() function as well as the interchain_vdw, interchain_env, and interchain_pair scoring components. More... | |
Private Member Functions | |
void | protein_calculate (core::pose::Pose const &pose) |
calculate the protein-protien interface More... | |
void | ligand_calculate (core::pose::Pose const &pose) |
void | NA_calculate (core::pose::Pose const &) |
void | symmetric_protein_calculate (core::pose::Pose const &pose) |
Private Attributes | |
Size | jump_number_ |
Real | distance_squared_ |
ObjexxFCL::FArray1D_bool | partner_ |
ObjexxFCL::FArray1D_bool | is_interface_ |
utility::vector1 < utility::vector1_int > | pair_list_ |
utility::vector1 < utility::vector1_size > | contact_list_ |
bool | use_input_partners_ |
|
inline |
|
inline |
|
inline |
void protocols::scoring::Interface::calculate | ( | core::pose::Pose const & | pose) |
base for calculating the interface
calculate
References core::pose::Pose::energies(), core::pose::Pose::fold_tree(), core::conformation::Residue::is_ligand(), core::conformation::Residue::is_NA(), core::conformation::symmetry::is_symmetric(), protocols::scoring::max_interchain_sites(), core::pose::Pose::residue(), core::pose::Pose::total_residue(), and TR().
Referenced by protocols::symmetric_docking::SymRestrictTaskForDocking::apply(), protocols::protein_interface_design::movers::DesignMinimizeHbonds::apply(), protocols::protein_interface_design::movers::DisulfideMover::apply(), protocols::docking::calc_Fnat(), protocols::geometry::centroids_by_jump_int(), protocols::protein_interface_design::filters::InterfaceHolesFilter::compute(), protocols::protein_interface_design::filters::SpecificResiduesNearInterfaceFilter::compute(), protocols::ub_e2c::ubi_e2c_modeler::CSP_fraction(), protocols::ddG_main(), protocols::seeded_abinitio::define_movemap_chains(), protocols::protein_interface_design::movers::DisulfideMover::disulfide_list(), protocols::ub_e2c::ubi_e2c_modeler::monoub_CSP_fraction(), protocols::ddg::ddGMover::relax_wildtype_structure(), protocols::simple_filters::EnergyPerResidueFilter::report(), protocols::enzdes::LigInterfaceEnergyFilter::report(), protocols::simple_filters::AlaScan::report_symmetry(), protocols::simple_moves::DesignRepackMover::setup_packer_and_movemap(), and protocols::docking::ConformerSwitchMover::switch_conformer().
core::Vector protocols::scoring::Interface::center | ( | core::pose::Pose const & | pose) |
calculates the center of mass of interface residues
interface_center
References core::conformation::Residue::nbr_atom_xyz(), core::pose::Pose::residue(), and core::pose::Pose::total_residue().
core::Size protocols::scoring::Interface::closest_interface_residue | ( | core::pose::Pose const & | pose, |
core::Size | src_rsd, | ||
core::Real & | distance | ||
) |
find the nearest residue at the interface to a given residue
Interface:closest_interface_residue
References core::conformation::Residue::nbr_atom_xyz(), core::pose::Pose::residue(), and core::pose::Pose::total_residue().
|
inline |
The contact_list is pose.total_residue() long, each element (contact_list_[i]) contains a list of residues from the other partner that interacts with residue i. This is calculated in protein_calculate, and used by Interface.is_pair() function as well as the interchain_vdw, interchain_env, and interchain_pair scoring components.
void protocols::scoring::Interface::distance | ( | Real const | distance_in) |
Referenced by protocols::symmetric_docking::SymRestrictTaskForDocking::apply(), protocols::protein_interface_design::movers::DesignMinimizeHbonds::apply(), protocols::protein_interface_design::movers::LoopFinder::apply(), protocols::docking::calc_Fnat(), protocols::geometry::centroids_by_jump_int(), protocols::ub_e2c::ubi_e2c_modeler::CSP_fraction(), protocols::ddG_main(), protocols::seeded_abinitio::define_movemap_chains(), protocols::ub_e2c::ubi_e2c_modeler::monoub_CSP_fraction(), protocols::ddg::ddGMover::relax_wildtype_structure(), protocols::simple_filters::EnergyPerResidueFilter::report(), protocols::enzdes::LigInterfaceEnergyFilter::report(), protocols::simple_filters::AlaScan::report_symmetry(), and protocols::simple_moves::DesignRepackMover::setup_packer_and_movemap().
core::Size protocols::scoring::Interface::interface_nres | ( | ) |
returns the total number of residues on both sides of the interface for a given jump
bool protocols::scoring::Interface::is_interface | ( | core::conformation::Residue const & | rsd) | const |
References core::conformation::Residue::seqpos().
Referenced by protocols::protein_interface_design::movers::DesignMinimizeHbonds::apply(), protocols::protein_interface_design::movers::DisulfideMover::apply(), protocols::docking::calc_Fnat(), protocols::geometry::centroids_by_jump_int(), protocols::protein_interface_design::filters::SpecificResiduesNearInterfaceFilter::compute(), protocols::ub_e2c::ubi_e2c_modeler::CSP_fraction(), protocols::ddG_main(), protocols::seeded_abinitio::define_movemap_chains(), protocols::ub_e2c::ubi_e2c_modeler::monoub_CSP_fraction(), protocols::ddg::ddGMover::relax_wildtype_structure(), protocols::simple_filters::EnergyPerResidueFilter::report(), protocols::enzdes::LigInterfaceEnergyFilter::report(), protocols::simple_filters::AlaScan::report_symmetry(), protocols::simple_moves::DesignRepackMover::setup_packer_and_movemap(), and protocols::ddg::ddGMover::setup_packer_task_for_mutations().
bool protocols::scoring::Interface::is_pair | ( | core::conformation::Residue const & | rsd1, |
core::conformation::Residue const & | rsd2 | ||
) |
returns whether the rsd1 and rsd2 are considered a contact pair based on contact_list_ array
Function to determine whether two residues are a "pair" for docking-type scoring calculations, such as vdw and pair across an interface
References core::conformation::Residue::seqpos().
Referenced by protocols::protein_interface_design::movers::DisulfideMover::disulfide_list().
void protocols::scoring::Interface::jump | ( | Size const | jump_number) |
Referenced by protocols::simple_filters::AlaScan::report().
|
inline |
|
private |
|
private |
|
inline |
Get two lists containing the residues on each side of the interface.
You might expect something called pair_list() to output pairs or somehow relate to the is_pair function, but it does not. It returns a two element list.
rename this to something more logical & give it a better return type
make a function that returns a vector1<pair<Size,Size> > containing all interacting pairs. This would be easy to implement.
Referenced by protocols::protein_interface_design::movers::DisulfideMover::disulfide_list().
void protocols::scoring::Interface::print | ( | core::pose::Pose const & | pose) |
print out the interface information
Referenced by protocols::ddG_main().
|
private |
calculate the protein-protien interface
protein_calculate
This uses partition_by_jump to determine which residues belong to each partner those on one side of the jump are set to 0, the others are set to 1 A residue is at the interface if it is within 8A radius of the residue in question on the other partner
References core::graph::Node::const_upper_edge_list_end(), core::sequence::end, core::pose::Pose::energies(), core::scoring::Energies::energy_graph(), core::graph::Edge::get_node(), core::graph::Edge::get_second_node_ind(), and core::scoring::EnergyEdge::square_distance().
void protocols::scoring::Interface::set_pack | ( | core::pose::Pose const & | pose, |
PackerTaskOP | task | ||
) |
sets up which residues are to be packed
set_pack
References core::kinematics::FoldTree::cutpoint_by_jump(), core::pose::Pose::fold_tree(), core::conformation::Residue::is_ligand(), core::pose::Pose::residue(), and core::pose::Pose::total_residue().
void protocols::scoring::Interface::set_symmetric_pack | ( | core::pose::Pose const & | pose, |
PackerTaskOP | task | ||
) |
References core::pose::Pose::conformation(), and core::pose::Pose::total_residue().
Referenced by protocols::symmetric_docking::SymRestrictTaskForDocking::apply().
void protocols::scoring::Interface::show | ( | core::pose::Pose const & | pose) |
|
private |
References core::pose::Pose::conformation(), core::graph::Node::const_upper_edge_list_begin(), core::graph::Node::const_upper_edge_list_end(), core::sequence::end, core::pose::Pose::energies(), core::graph::Graph::get_node(), core::graph::Edge::get_second_node_ind(), core::graph::Graph::num_nodes(), core::scoring::EnergyEdge::square_distance(), and core::pose::Pose::total_residue().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |