hPDB-1.2.0.9: Protein Databank file format library

Safe HaskellSafe
LanguageHaskell98

Bio.PDB.EventParser.HelixTypes

Description

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

Synopsis

Documentation

data HelixT #

Enumeration of helix types

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

  1. Right-handed alpha (default, most common)
  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 t => HelixT -> t #

helix2code converts a HelixT enumeration into an PDB CLASS code.

code2helix :: (Num a, Eq a) => a -> HelixT #

helix2code converts an PDB CLASS code into a HelixT enumeration.