hPDB-0.99: Parser, print and manipulate structures in PDB file format.

Safe HaskellSafe-Inferred

Bio.PDB.EventParser.HelixTypes

Description

Module contains enumeration of helix types, and auxiliary functions for converting these into numeric PDB CLASS code.

Synopsis

Documentation

data HelixT Source

Enumeration of helix types

PDB Class number in columns 39-40 for each type of helix in HELIX record:

  1. Right-handed alpha (default)
  2. Right-handed omega
  3. Right-handed pi
  4. Right-handed gamma
  5. Right-handed 3 - 10
  6. Left-handed alpha
  7. Left-handed omega
  8. Left-handed gamma
  9. 2 - 7 ribbon/helix
  10. Polyproline

helix2code :: Num a => HelixT -> aSource

helix2code converts a HelixT enumeration into an PDB CLASS number.

code2helix :: (Eq a, Num a) => a -> HelixTSource

helix2code converts an PDB CLASS number into a HelixT enumeration.