pub struct Node {Show 16 fields
pub node_id: NodeId,
pub chain_id: char,
pub position: isize,
pub residue: Residue,
pub x: f64,
pub y: f64,
pub z: f64,
pub dssp_structure: DsspStructure,
pub degree: usize,
pub accessibility: f64,
pub bfactor_ca: f64,
pub tap_energy: Option<f64>,
pub rapdf_energy: Option<f64>,
pub pdb_file_name: String,
pub entropy: Option<f64>,
pub cumul_mutual_entropy: Option<f64>,
}
Expand description
A node in the interaction graph.
Fields§
§node_id: NodeId
The unique ID of this node.
chain_id: char
The name/ID of the chain this residue belongs in.
position: isize
The position of the residue inside the sequence, according to PDB. NOTE: this sometimes is 0 or a negative integer.
residue: Residue
The amino acid that this node represents.
x: f64
X coordinate.
y: f64
Y coordinate.
z: f64
Z coordinate.
dssp_structure: DsspStructure
Secondary structure, as predicted by DSSP.
degree: usize
The degree of, i.e. the number of edges from and to, this node.
accessibility: f64
Relative solvent accessibility (RSA).
bfactor_ca: f64
The B-factor of the alpha carbon.
tap_energy: Option<f64>
The TAP energy.
rapdf_energy: Option<f64>
The RAPDF energy (calculated based on statistical potentials).
pdb_file_name: String
Only for letting RINanylezer/StructureViz and Chimera love each other.
entropy: Option<f64>
Shannon entropy computed from a multiple alignment (MSA=true).
cumul_mutual_entropy: Option<f64>
Cumulative mutual entropy. Yes, it’s incorrectly called “comulative” in the JSON returned by the API.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Node
impl<'de> Deserialize<'de> for Node
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl StructuralPartialEq for Node
Auto Trait Implementations§
impl Freeze for Node
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnwindSafe for Node
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> 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 more