BiobaseVienna-0.2.2.4: Import Vienna energy parameters

Safe HaskellSafe-Infered

Biobase.Vienna.Export

Contents

Synopsis

Export as a ViennaRNA 2004 .par file

Helper functions

showKey :: [(LKey, Int)] -> StringSource

Show the key of the line, minus the changing last key

type LKey = ([ViennaPair], [Nuc])Source

Transform from tuple-based keys to a pair of list-based keys.

pb2lkey :: :. (:. Z t) t1 -> ([t], [t1])Source

pbb2lkey :: :. (:. (:. Z t) t1) t1 -> ([t], [t1])Source

pp2lkey :: :. (:. Z t) t -> ([t], [a])Source

ppbb2lkey :: :. (:. (:. (:. Z t) t) t1) t1 -> ([t], [t1])Source

ppbbb2lkey :: :. (:. (:. (:. (:. Z t) t) t1) t1) t1 -> ([t], [t1])Source

ppbbbb2lkey :: :. (:. (:. (:. (:. (:. Z t) t) t1) t1) t1) t1 -> ([t], [t1])Source

printBlock :: (PrimArrayOps arr b Int, PrintfArg t) => t -> Int -> (b -> LKey) -> arr b Int -> [Char]Source

Print a block.

printBlockH :: PrimArrayOps arr b Int => [Char] -> Int -> (b -> LKey) -> arr b Int -> [Char]Source

printBlock22 :: (PrimArrayOps arr b Int, PrintfArg t) => t -> Int -> (b -> LKey) -> arr b Int -> [Char]Source

printBlock22H :: PrimArrayOps arr b Int => [Char] -> Int -> (b -> LKey) -> arr b Int -> [Char]Source

printBlockG :: (PrimArrayOps arr b Int, PrintfArg t) => ((LKey, Int) -> Bool) -> t -> Int -> (b -> LKey) -> arr b Int -> [Char]Source

printVal :: (Num a, Ord a, PrintfType r, PrintfArg a) => (t, a) -> rSource

printLinear :: (Num a, Ord a, PrimArrayOps arr t1 a, PrintfArg a, PrintfArg t) => t -> Int -> arr t1 a -> [Char]Source

A linear block is more boring

printLinearH :: (Num a, Ord a, PrimArrayOps arr t a, PrintfArg a) => [Char] -> Int -> arr t a -> [Char]Source