parsestar-1.5: NMR-STAR file format parser.

Safe HaskellNone
LanguageHaskell2010

Data.STAR

Synopsis

Documentation

newtype STAR Source

Constructors

STAR [STARBlock] 

data STAREntry Source

Constructors

Entry 

Fields

key :: !String
 
value :: !String
 
Ref 

Fields

key :: !String
 
value :: !String
 
Frame 

Fields

key :: !String
 
frameEntries :: ![STAREntry]
 
Loop 

Fields

table :: ![[STAREntry]]
 

parseSTAR :: ByteString -> Either ParseError [STARBlock] Source

Front end to Data.STAR.Parser.parse.

parseSTARFile :: [Char] -> IO (Either [Char] STAR) Source

Parser that automatically guesses whether file is compressed or not And then calls Data.STAR.parseFile or Data.STAR.parseCompressedFile.

extractChemShifts :: STAR -> [ChemShift] Source

Extracts chemical shift list from a STAR file contents.