Safe Haskell | None |
---|---|
Language | Haskell2010 |
TODO make sequence types stringable
?
Synopsis
- pattern Unknown :: forall k (n :: k). Letter AA n
- pattern Any :: forall k (n :: k). Letter AA n
- aa :: Int -> Letter AA n
- aaRange :: Vector (Letter AA n)
- charAA :: Char -> Letter AA n
- aaChar :: Letter AA n -> Char
- charBaa :: Bimap (HashMap Char (Letter AA n)) (HashMap (Letter AA n) Char)
- twentyAA :: Vector (Letter AA n)
- module Biobase.Primary.Hashed
- class Degenerate x where
- fromDegenerate :: Char -> [x]
- toDegenerate :: [x] -> Maybe Char
- data DEG
- charDEG :: Char -> Letter DEG n
- degChar :: Letter DEG n -> Char
- degSeq :: MkPrimary p DEG n => p -> Primary DEG n
- iupacXDNAchars :: [(Char, String)]
- iupacNucleotides :: ByteString
- module Biobase.Primary.Letter
- module Biobase.Primary.Nuc
- module Biobase.Primary.Trans
- module Biobase.Primary.Unknown
Documentation
twentyAA :: Vector (Letter AA n) Source #
List of the twenty "default" amino acids. Used, for example, by HMMer.
module Biobase.Primary.Hashed
class Degenerate x where Source #
fromDegenerate :: Char -> [x] Source #
toDegenerate :: [x] -> Maybe Char Source #
Instances
Degenerate Char Source # | |
Defined in Biobase.Primary.IUPAC | |
Degenerate (Letter XNA n) Source # | |
Defined in Biobase.Primary.IUPAC | |
Degenerate (Letter DNA n) Source # | |
Defined in Biobase.Primary.IUPAC | |
Degenerate (Letter RNA n) Source # | |
Defined in Biobase.Primary.IUPAC |
Allow the full, including degenerates, alphabet.
Instances
MkPrimary (Vector Char) DEG (n :: k) Source # | |
IsString [Letter DEG n] Source # | |
Defined in Biobase.Primary.IUPAC fromString :: String -> [Letter DEG n] # | |
Bounded (Letter DEG n) Source # | |
Enum (Letter DEG n) Source # | |
Defined in Biobase.Primary.IUPAC succ :: Letter DEG n -> Letter DEG n # pred :: Letter DEG n -> Letter DEG n # toEnum :: Int -> Letter DEG n # fromEnum :: Letter DEG n -> Int # enumFrom :: Letter DEG n -> [Letter DEG n] # enumFromThen :: Letter DEG n -> Letter DEG n -> [Letter DEG n] # enumFromTo :: Letter DEG n -> Letter DEG n -> [Letter DEG n] # enumFromThenTo :: Letter DEG n -> Letter DEG n -> Letter DEG n -> [Letter DEG n] # | |
Show (Letter DEG n) Source # | |
iupacXDNAchars :: [(Char, String)] Source #
list of characters, using the XNA alphabet, but degenerate chars assume DNA characters.
iupacNucleotides :: ByteString Source #
Raw iupac data, embedded into the library.
module Biobase.Primary.Letter
module Biobase.Primary.Nuc
module Biobase.Primary.Trans
module Biobase.Primary.Unknown