BiobaseXNA-0.11.0.0: Efficient RNA/DNA/Protein Primary/Secondary Structure

Safe HaskellNone
LanguageHaskell2010

Biobase.Primary

Description

TODO make sequence types stringable?

Synopsis

Documentation

pattern Unknown :: forall k (n :: k). Letter AA n Source #

pattern Any :: forall k (n :: k). Letter AA n Source #

charAA :: Char -> Letter AA n Source #

Translate Char amino acid representation into efficient AA newtype.

aaChar :: Letter AA n -> Char Source #

Char representation of an AA.

twentyAA :: Vector (Letter AA n) Source #

List of the twenty "default" amino acids. Used, for example, by HMMer.

class Degenerate x where Source #

Instances
Degenerate Char Source # 
Instance details

Defined in Biobase.Primary.IUPAC

Degenerate (Letter XNA n) Source # 
Instance details

Defined in Biobase.Primary.IUPAC

Degenerate (Letter DNA n) Source # 
Instance details

Defined in Biobase.Primary.IUPAC

Degenerate (Letter RNA n) Source # 
Instance details

Defined in Biobase.Primary.IUPAC

data DEG Source #

Allow the full, including degenerates, alphabet.

Instances
MkPrimary (Vector Char) DEG (n :: k) Source # 
Instance details

Defined in Biobase.Primary.IUPAC

IsString [Letter DEG n] Source # 
Instance details

Defined in Biobase.Primary.IUPAC

Methods

fromString :: String -> [Letter DEG n] #

Bounded (Letter DEG n) Source # 
Instance details

Defined in Biobase.Primary.IUPAC

Enum (Letter DEG n) Source # 
Instance details

Defined in Biobase.Primary.IUPAC

Show (Letter DEG n) Source # 
Instance details

Defined in Biobase.Primary.IUPAC

Methods

showsPrec :: Int -> Letter DEG n -> ShowS #

show :: Letter DEG n -> String #

showList :: [Letter DEG n] -> ShowS #

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.