BiobaseXNA-0.11.1.1: Efficient RNA/DNA/Protein Primary/Secondary Structure
Safe HaskellNone
LanguageHaskell2010

Biobase.Primary.Nuc.DNA

Synopsis

Documentation

pattern A :: Letter DNA n Source #

pattern C :: Letter DNA n Source #

pattern G :: Letter DNA n Source #

pattern T :: Letter DNA n Source #

pattern N :: Letter DNA n Source #

charDNA :: forall k (n :: k). Char -> Letter DNA n Source #

dnaChar :: forall k (n :: k). Letter DNA n -> Char Source #

cdna :: Iso' Char (Letter DNA n) Source #

An isomorphism from Char to 'Letter DNA'. This assumes that the underlying Chars actually represent a DNA sequence. This allows typesafe modification of DNA sequences since only [A,C,G,T,N] are allowed.

Orphan instances

LetterChar DNA (n :: k) Source # 
Instance details

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

IsString [Letter DNA n] Source # 
Instance details

Methods

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

Bounded (Letter DNA n) Source # 
Instance details

Enum (Letter DNA n) Source # 
Instance details

Read (Letter DNA n) Source # 
Instance details

Show (Letter DNA n) Source # 
Instance details

Methods

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

show :: Letter DNA n -> String #

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