Safe Haskell | None |
---|---|
Language | Haskell2010 |
Encoding of Watson-Crick and Wobble Pairs in the Vienna RNA package style.
Synopsis
- newtype ViennaPair = ViennaPair {
- unViennaPair :: Int
- pattern NP :: ViennaPair
- pattern CG :: ViennaPair
- pattern GC :: ViennaPair
- pattern GU :: ViennaPair
- pattern UG :: ViennaPair
- pattern AU :: ViennaPair
- pattern UA :: ViennaPair
- pattern NS :: ViennaPair
- pattern Undef :: ViennaPair
- isViennaPair :: Letter RNA m -> Letter RNA n -> Bool
- viennaPairTable :: Unboxed ((Z :. Letter RNA n) :. Letter RNA n) ViennaPair
- revPair :: ViennaPair -> ViennaPair
- cguaP :: [ViennaPair]
- cgnsP :: [ViennaPair]
- pairToString :: [(ViennaPair, [Char])]
Documentation
newtype ViennaPair Source #
Use machine Ints internally
Instances
pattern NP :: ViennaPair Source #
pattern CG :: ViennaPair Source #
pattern GC :: ViennaPair Source #
pattern GU :: ViennaPair Source #
pattern UG :: ViennaPair Source #
pattern AU :: ViennaPair Source #
pattern UA :: ViennaPair Source #
pattern NS :: ViennaPair Source #
Non-standard base pair
pattern Undef :: ViennaPair Source #
revPair :: ViennaPair -> ViennaPair Source #
reverse a vienna pair
Convenience structures
cguaP :: [ViennaPair] Source #
cgnsP :: [ViennaPair] Source #
pairToString :: [(ViennaPair, [Char])] Source #