Rosetta
|
Public Member Functions | |
TestQuickRelaxMover () | |
Constructors ///. More... | |
TestQuickRelaxMover (Real angle_max, std::string nmoves) | |
Custom Constructor. More... | |
TestQuickRelaxMover (Real angle_max, std::string nmoves, MoveMapOP movemap) | |
Custom Constructor. More... | |
TestQuickRelaxMover (TestQuickRelaxMover const &src) | |
Copy Constructor. More... | |
TestQuickRelaxMover & | operator= (TestQuickRelaxMover const &src) |
Assignment Operator. More... | |
~TestQuickRelaxMover () override | |
Destructor. More... | |
std::string | get_name () const override |
Rosetta Scripts Methods ///. More... | |
void | apply (Pose &pose) override |
Flip the downstream partner in the membrane. More... | |
void | add_membrane_again (bool yesno) |
Run AddMembraneMover before? More... | |
void | membrane_from_topology (bool yesno) |
Run MembranePositionFromTopology again? More... | |
void | optimize_membrane (bool yesno) |
Optimize membrane position before relax? More... | |
Private Member Functions | |
void | register_options () |
Setup Methods ///. More... | |
void | set_defaults () |
Set default values. More... | |
void | init_from_cmd () |
Initialize from commandline. More... | |
utility::vector1< bool > | get_repack_residues (Pose &pose, core::SSize center1, core::SSize center2, core::SSize halfrange) |
Initialize from commandline. More... | |
Private Attributes | |
PoseOP | native_ |
Native. More... | |
Real | angle_max_ |
Maximum allowed dihedral angle change for Small and ShearMover. More... | |
std::string | moves_ |
Number of moves Small and ShearMover can make. More... | |
Size | nmoves_ |
MoveMapOP | movemap_ |
Movemap for Small and ShearMover. More... | |
ScoreFunctionOP | sfxn_ |
Scorefxn. More... | |
std::string | cst_file_ |
constraint filename More... | |
core::Real | cst_weight_ |
constraint weight More... | |
bool | addmem_ |
Run AddMembraneMover again? More... | |
bool | mem_from_topo_ |
Run MembranePositionFromTopology? More... | |
bool | opt_mem_ |
Optimize membrane before? More... | |
bool | repack_again_ |
Additional round of repack which packs all residues simultaneously. More... | |
TestQuickRelaxMover::TestQuickRelaxMover | ( | ) |
Constructors ///.
Default Constructor.
Default Constructor
Defaults: dih angle_max = 1, nmoves = "nres", movemap = bb and all chi
Defaults: dih angle_max = 1, nmoves = nres, movemap = bb and all chi
References init_from_cmd(), register_options(), and set_defaults().
Referenced by operator=().
TestQuickRelaxMover::TestQuickRelaxMover | ( | Real | angle_max, |
std::string | nmoves | ||
) |
Custom Constructor.
nmoves is a string because it can either be "nres" or an integer
References basic::options::OptionKeys::mp::quickrelax::angle_max, angle_max_, init_from_cmd(), moves_, basic::options::OptionKeys::mp::quickrelax::nmoves, register_options(), and set_defaults().
TestQuickRelaxMover::TestQuickRelaxMover | ( | Real | angle_max, |
std::string | nmoves, | ||
MoveMapOP | movemap | ||
) |
Custom Constructor.
Custom constructor.
References basic::options::OptionKeys::mp::quickrelax::angle_max, angle_max_, init_from_cmd(), basic::options::OptionKeys::in::file::movemap, movemap_, moves_, basic::options::OptionKeys::mp::quickrelax::nmoves, register_options(), and set_defaults().
TestQuickRelaxMover::TestQuickRelaxMover | ( | TestQuickRelaxMover const & | src | ) |
Copy Constructor.
Create a deep copy of this mover
|
overridedefault |
Destructor.
void TestQuickRelaxMover::add_membrane_again | ( | bool | yesno | ) |
Run AddMembraneMover before?
Run AddMembraneMover again?
If you want to keep your anchor point for MEM, then pick no
References addmem_.
|
override |
Flip the downstream partner in the membrane.
Mover Methods ///.
Run a quick relax on a membrane protein
Requires AddMembraneMover to be run beforehand
References addmem_, angle_max_, basic::options::OptionKeys::constraints::constraints, basic::options::OptionKeys::templates::cst::cst, cst_file_, cst_weight_, get_repack_residues(), create_a3b_hbs::i, create_a3b_hbs::j, bin_torsions::job, basic::options::OptionKeys::relax::range::kT, mc, mem_from_topo_, basic::options::OptionKeys::abinitio::membrane, basic::options::OptionKeys::MonteCarlo::MonteCarlo, movemap_, moves_, native_, nmoves_, create_a3b_hbs::nres, opt_mem_, beta_nonlocal::pose, range, basic::options::OptionKeys::casp::repack, repack_again_, repack_all(), basic::options::OptionKeys::frags::scoring::scoring, sfxn_, basic::options::OptionKeys::cutoutdomain::start, utility::string2Size(), vancomycin::task, and TR.
Referenced by pyrosetta.distributed.tasks.rosetta_scripts.BaseRosettaScriptsTask::execute().
|
override |
Rosetta Scripts Methods ///.
Mover Methods ///
Get the name of this Mover (TestQuickRelaxMover)
Create a Clone of this mover
Get the name of this Mover (TestQuickRelaxMover)
|
private |
Initialize from commandline.
References create_a3b_hbs::i, create_a3b_hbs::j, kmeans_adaptive_kernel_density_bb_dependent_rotlib::m, kmeans_adaptive_kernel_density_bb_dependent_rotlib::n, create_a3b_hbs::nres, beta_nonlocal::pose, and TR.
Referenced by apply().
|
private |
Initialize from commandline.
References basic::options::OptionKeys::mp::quickrelax::angle_max, angle_max_, basic::options::OptionKeys::cluster::energy_based_clustering::cst_file, cst_file_, basic::options::OptionKeys::constraints::cst_weight, cst_weight_, moves_, surface_app::native, native_, basic::options::OptionKeys::mp::quickrelax::nmoves, option, pyrosetta.distributed.io::pose_from_file, basic::options::OptionKeys::mp::quickrelax::repack_again, repack_again_, utility::to_string(), and basic::options::OptionKeys::inout::dbms::user.
Referenced by TestQuickRelaxMover().
void TestQuickRelaxMover::membrane_from_topology | ( | bool | yesno | ) |
Run MembranePositionFromTopology again?
Will change the starting membrane position
References mem_from_topo_.
TestQuickRelaxMover & TestQuickRelaxMover::operator= | ( | TestQuickRelaxMover const & | src | ) |
Assignment Operator.
References TestQuickRelaxMover().
void TestQuickRelaxMover::optimize_membrane | ( | bool | yesno | ) |
Optimize membrane position before relax?
References opt_mem_.
|
private |
Setup Methods ///.
Register Options from Command Line
References basic::options::OptionKeys::mp::quickrelax::angle_max, basic::options::OptionKeys::cluster::energy_based_clustering::cst_file, basic::options::OptionKeys::constraints::cst_weight, surface_app::native, basic::options::OptionKeys::mp::quickrelax::nmoves, option, and basic::options::OptionKeys::mp::quickrelax::repack_again.
Referenced by TestQuickRelaxMover().
|
private |
Set default values.
References addmem_, angle_max_, pyrosetta::create_score_function, cst_weight_, mem_from_topo_, movemap_, moves_, opt_mem_, repack_again_, and sfxn_.
Referenced by TestQuickRelaxMover().
|
private |
Run AddMembraneMover again?
This is stupid: we need this as a workaround for attaching the MEM at the correct anchor point, neither sliding the jump nor removing the MEM and re-attaching it works. :(
Referenced by add_membrane_again(), apply(), and set_defaults().
|
private |
Maximum allowed dihedral angle change for Small and ShearMover.
Referenced by apply(), init_from_cmd(), set_defaults(), and TestQuickRelaxMover().
|
private |
constraint filename
Referenced by apply(), and init_from_cmd().
|
private |
constraint weight
Referenced by apply(), init_from_cmd(), and set_defaults().
|
private |
Run MembranePositionFromTopology?
Referenced by apply(), membrane_from_topology(), and set_defaults().
|
private |
Movemap for Small and ShearMover.
Referenced by apply(), set_defaults(), and TestQuickRelaxMover().
|
private |
Number of moves Small and ShearMover can make.
moves_ is a string and can take 'nres' as well as a number nmoves_ is the actual number that is taken after conversion
Referenced by apply(), init_from_cmd(), set_defaults(), and TestQuickRelaxMover().
|
private |
Native.
Referenced by apply(), and init_from_cmd().
|
private |
Optimize membrane before?
Referenced by apply(), optimize_membrane(), and set_defaults().
|
private |
Additional round of repack which packs all residues simultaneously.
Referenced by apply(), init_from_cmd(), and set_defaults().
|
private |
Scorefxn.
Referenced by apply(), and set_defaults().