Rosetta Protocols  2014.35
Public Member Functions | List of all members
protocols::frag_picker::scores::MakePCS_FragDistance Class Reference

Matker class that produces a new PCS_FragDistance object. More...

#include <PCS_FragDistance.hh>

Public Member Functions

 MakePCS_FragDistance ()
FragmentScoringMethodOP make (Size, Real, bool, FragmentPickerOP, std::string)
 Creates a PCS_FragDistance scoring method. More...
- Public Member Functions inherited from protocols::frag_picker::scores::MakeFragmentScoringMethod
 MakeFragmentScoringMethod (std::string name)
std::stringget_score_name ()

Detailed Description

Matker class that produces a new PCS_FragDistance object.

Constructor & Destructor Documentation

protocols::frag_picker::scores::MakePCS_FragDistance::MakePCS_FragDistance ( )

Member Function Documentation

FragmentScoringMethodOP protocols::frag_picker::scores::MakePCS_FragDistance::make ( Size  priority,
Real  lowest_acceptable_value,
bool  use_lowest,
FragmentPickerOP  picker,

Creates a PCS_FragDistance scoring method.

priority- priority of the scoring method. The higher value the earlier the score will be evaluated
lowest_acceptable_value- if a calculated score is higher than this value, fragment will be neglected
FragmentPickerOPobject - not used
line- the relevant line extracted from the scoring configuration file that defines this scoring method It could look like: "PCS_FragDistance 140 -5.0 100.0 additional_string" where 140, -5.0 && 100.0 are priority, weight && treshold, respectively. The additional string may be:
  • empty: then the maker tries to create a scoring object from a TALOS file trying in::file::talos_phi_psi flag. If fails, will try to use a pose from in::file::s
  • a pdb file, pdb extension is necessary. This will create a pose && steal Phi && Psi
  • a TALOS file with Phi/Psi prediction (tab extension is necessary)

Implements protocols::frag_picker::scores::MakeFragmentScoringMethod.

References utility::io::izstream::eof(), getline(), option, in::file::PCS_frag_cst, runtime_assert, target, user, and utility_exit_with_message.

The documentation for this class was generated from the following files: