[][src]Struct nom_pdb::secondary_structure::HelixParser

pub struct HelixParser;

Overview

HELIX records are used to identify the position of helices in the molecule. Helices are named, numbered, and classified by type. The residues where the helix begins and ends are noted, as well as the total length.

Record Format

COLUMNSDATA TYPEFIELDDEFINITION
1 - 6Record name"HELIX "
8 - 10IntegerserNumSerial number of the helix. This starts
at 1 and increases incrementally.
12 - 14LString(3)helixIDHelix identifier. In addition to a serial
number, each helix is given an
alphanumeric character helix identifier.
16 - 18Residue nameinitResNameName of the initial residue.
20CharacterinitChainIDChain identifier for the chain containing
this helix.
22 - 25IntegerinitSeqNumSequence number of the initial residue.
26ACharinitICodeInsertion code of the initial residue.
28 - 30Residue nameendResNameName of the terminal residue of the helix.
32CharacterendChainIDChain identifier for the chain containing
this helix.
34 - 37IntegerendSeqNumSequence number of the terminal residue.
38ACharendICodeInsertion code of the terminal residue.
39 - 40IntegerhelixClassHelix class (see below).
41 - 70StringcommentComment about this helix.
72 - 76IntegerlengthLength of this helix.

Details

Additional HELIX records with different serial numbers and identifiers occur if more than one helix is present. The initial residue of the helix is the N-terminal residue. Helices are classified as follows:

| | CLASS NUMBER | |TYPE OF HELIX | (COLUMNS 39 - 40) | |--------------------------------|------------------------------| |Right-handed alpha (default) | 1 | |Right-handed omega | 2 | |Right-handed pi | 3 | |Right-handed gamma | 4 | |Right-handed 3 - 10 | 5 | |Left-handed alpha | 6 | |Left-handed omega | 7 | |Left-handed gamma | 8 | |2 - 7 ribbon/helix | 9 | |Polyproline | 10 |

Implementations

impl HelixParser[src]

Trait Implementations

impl FieldParser for HelixParser[src]

type Output = Helix

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.