Skip to main content

ChainSequenceExt

Trait ChainSequenceExt 

Source
pub trait ChainSequenceExt<'a> {
    // Required methods
    fn observed_sequence(self) -> Vec<SymbolId>;
    fn canonical_sequence(self) -> &'a [SymbolId];
    fn reference_sequences(self) -> Vec<&'a ReferenceSequence>;
    fn sequence_mapping(self) -> Vec<SequenceMapping<'a>>;
    fn missing_residues(self) -> Vec<MissingResidue>;
}
Expand description

Sequence views carried by a hierarchy chain handle.

Required Methods§

Source

fn observed_sequence(self) -> Vec<SymbolId>

Component identifiers actually modelled, in topology order.

Source

fn canonical_sequence(self) -> &'a [SymbolId]

Entity sequence that should have been present.

Source

fn reference_sequences(self) -> Vec<&'a ReferenceSequence>

Database sequences associated with the chain’s entity.

Source

fn sequence_mapping(self) -> Vec<SequenceMapping<'a>>

Observed-to-canonical-to-reference position mapping.

Source

fn missing_residues(self) -> Vec<MissingResidue>

Canonical positions not represented by an observed residue.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<'a> ChainSequenceExt<'a> for ChainRef<'a>