pub struct PackConfig {
pub electrostatics: Option<f32>,
pub sample_polar_h: bool,
pub include_input_conformation: bool,
pub self_energy_threshold: f32,
pub rotamer_prob_cutoff: f32,
}Expand description
Configuration for pack().
Fields§
§electrostatics: Option<f32>Coulomb electrostatics with a distance-dependent dielectric model.
None disables electrostatics; Some(D) enables the ε(r) = D·r model
using dielectric coefficient D, where D = 1.0 is the standard unscaled
form.
Default None.
sample_polar_h: boolSample additional polar-hydrogen orientations during conformer generation.
When true, each polar-hydrogen torsion is sampled at multiple
orientations determined by the hybridization of the parent heavy atom.
Default true.
include_input_conformation: boolInclude the input side-chain conformation as an additional candidate.
When true, the side-chain coordinates already present in the input
structure are included as an additional candidate conformation.
Default false.
self_energy_threshold: f32Self-energy window above the lowest-energy rotamer conformation (kcal/mol).
Rotamer conformations whose self-energy exceeds the lowest-energy rotamer
- this threshold are discarded before pair-energy computation.
Default 30.0 kcal/mol.
rotamer_prob_cutoff: f32Minimum Dunbrack rotamer probability required to include a rotamer.
Rotamers whose backbone-dependent probability falls below this threshold
are discarded before packing begins. Set to 0.0 to include all rotamers
in the library.
Default 0.0.
Trait Implementations§
Source§impl Clone for PackConfig
impl Clone for PackConfig
Source§fn clone(&self) -> PackConfig
fn clone(&self) -> PackConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PackConfig
impl Debug for PackConfig
Auto Trait Implementations§
impl Freeze for PackConfig
impl RefUnwindSafe for PackConfig
impl Send for PackConfig
impl Sync for PackConfig
impl Unpin for PackConfig
impl UnsafeUnpin for PackConfig
impl UnwindSafe for PackConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.