Biobase.RNA
Contents
Description
Encodings for nucleotides and pairs. Currently very ViennaRNA-centric. This might change over time.
TODO do not export Nucleotide ctor?
- newtype Nucleotide = Nucleotide Int
- nucCharList :: [(Int, Char)]
- charNucList :: [(Char, Int)]
- charToNucleotide :: Char -> Nucleotide
- nucleotideToChar :: Nucleotide -> Char
- type Primary = PrimArray Int Nucleotide
- class MkPrimary a where
- newtype ViennaPair = ViennaPair Int
- vpStrList :: [(Int, String)]
- strVpList :: [(String, Int)]
- toPair :: Nucleotide -> Nucleotide -> ViennaPair
- pairs :: Nucleotide -> Nucleotide -> Bool
single nucleotide encoding
newtype Nucleotide Source
Constructors
Nucleotide Int |
nucCharList :: [(Int, Char)]Source
charNucList :: [(Char, Int)]Source
Represent nucleotide sequences using an unboxed vector.
type Primary = PrimArray Int NucleotideSource
Encoding of Watson-Crick and Wobble Pairs in the Vienna RNA package style.
newtype ViennaPair Source
Constructors
ViennaPair Int |
convenience lists
Transformations between Nucleotide and ViennaPair
toPair :: Nucleotide -> Nucleotide -> ViennaPairSource
pairs :: Nucleotide -> Nucleotide -> BoolSource