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

Safe HaskellNone
LanguageHaskell2010

Biobase.Primary.Letter

Contents

Description

A newtype with an attached phantom type which allows us to encode nucleotides and amino acids. Actual seqence-specific functions can be founds in the appropriate modules AA and Nuc.

Synopsis

Documentation

newtype Letter (seqTy :: *) (nameTy :: k) Source #

A Letter together with its phantom type seqTy encodes bio-sequences, while nameTy allows to specify a type-level name for a letter.

Constructors

Letter 

Fields

Instances
BasepairConvert Basepair (Letter RNA n, Letter RNA n) Source # 
Instance details

Defined in Biobase.Secondary.Convert

BasepairConvert ViennaPair (Letter RNA n, Letter RNA n) Source # 
Instance details

Defined in Biobase.Secondary.Convert

Vector Vector (Letter t n) Source # 
Instance details

Defined in Biobase.Primary.Letter

Methods

basicUnsafeFreeze :: PrimMonad m => Mutable Vector (PrimState m) (Letter t n) -> m (Vector (Letter t n)) #

basicUnsafeThaw :: PrimMonad m => Vector (Letter t n) -> m (Mutable Vector (PrimState m) (Letter t n)) #

basicLength :: Vector (Letter t n) -> Int #

basicUnsafeSlice :: Int -> Int -> Vector (Letter t n) -> Vector (Letter t n) #

basicUnsafeIndexM :: Monad m => Vector (Letter t n) -> Int -> m (Letter t n) #

basicUnsafeCopy :: PrimMonad m => Mutable Vector (PrimState m) (Letter t n) -> Vector (Letter t n) -> m () #

elemseq :: Vector (Letter t n) -> Letter t n -> b -> b #

MVector MVector (Letter t n) Source # 
Instance details

Defined in Biobase.Primary.Letter

Methods

basicLength :: MVector s (Letter t n) -> Int #

basicUnsafeSlice :: Int -> Int -> MVector s (Letter t n) -> MVector s (Letter t n) #

basicOverlaps :: MVector s (Letter t n) -> MVector s (Letter t n) -> Bool #

basicUnsafeNew :: PrimMonad m => Int -> m (MVector (PrimState m) (Letter t n)) #

basicInitialize :: PrimMonad m => MVector (PrimState m) (Letter t n) -> m () #

basicUnsafeReplicate :: PrimMonad m => Int -> Letter t n -> m (MVector (PrimState m) (Letter t n)) #

basicUnsafeRead :: PrimMonad m => MVector (PrimState m) (Letter t n) -> Int -> m (Letter t n) #

basicUnsafeWrite :: PrimMonad m => MVector (PrimState m) (Letter t n) -> Int -> Letter t n -> m () #

basicClear :: PrimMonad m => MVector (PrimState m) (Letter t n) -> m () #

basicSet :: PrimMonad m => MVector (PrimState m) (Letter t n) -> Letter t n -> m () #

basicUnsafeCopy :: PrimMonad m => MVector (PrimState m) (Letter t n) -> MVector (PrimState m) (Letter t n) -> m () #

basicUnsafeMove :: PrimMonad m => MVector (PrimState m) (Letter t n) -> MVector (PrimState m) (Letter t n) -> m () #

basicUnsafeGrow :: PrimMonad m => MVector (PrimState m) (Letter t n) -> Int -> m (MVector (PrimState m) (Letter t n)) #

Eq (LimitType (Letter l n)) Source # 
Instance details

Defined in Biobase.Primary.Letter

Methods

(==) :: LimitType (Letter l n) -> LimitType (Letter l n) -> Bool #

(/=) :: LimitType (Letter l n) -> LimitType (Letter l n) -> Bool #

Data (Letter l n) => Data (LimitType (Letter l n)) Source # 
Instance details

Defined in Biobase.Primary.Letter

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> LimitType (Letter l n) -> c (LimitType (Letter l n)) #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (LimitType (Letter l n)) #

toConstr :: LimitType (Letter l n) -> Constr #

dataTypeOf :: LimitType (Letter l n) -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (LimitType (Letter l n))) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (LimitType (Letter l n))) #

gmapT :: (forall b. Data b => b -> b) -> LimitType (Letter l n) -> LimitType (Letter l n) #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> LimitType (Letter l n) -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> LimitType (Letter l n) -> r #

gmapQ :: (forall d. Data d => d -> u) -> LimitType (Letter l n) -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> LimitType (Letter l n) -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> LimitType (Letter l n) -> m (LimitType (Letter l n)) #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> LimitType (Letter l n) -> m (LimitType (Letter l n)) #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> LimitType (Letter l n) -> m (LimitType (Letter l n)) #

Read (Letter l n) => Read (LimitType (Letter l n)) Source # 
Instance details

Defined in Biobase.Primary.Letter

Show (Letter l n) => Show (LimitType (Letter l n)) Source # 
Instance details

Defined in Biobase.Primary.Letter

Methods

showsPrec :: Int -> LimitType (Letter l n) -> ShowS #

show :: LimitType (Letter l n) -> String #

showList :: [LimitType (Letter l n)] -> ShowS #

IsString [Letter DNA n] Source # 
Instance details

Defined in Biobase.Primary.Nuc.DNA

Methods

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

IsString [Letter RNA n] Source # 
Instance details

Defined in Biobase.Primary.Nuc.RNA

Methods

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

IsString [Letter XNA n] Source # 
Instance details

Defined in Biobase.Primary.Nuc.XNA

Methods

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

IsString [Letter DEG n] Source # 
Instance details

Defined in Biobase.Primary.IUPAC

Methods

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

(Unbox (Letter t n), IsString [Letter t n]) => IsString (Vector (Letter t n)) Source # 
Instance details

Defined in Biobase.Primary.Letter

Methods

fromString :: String -> Vector (Letter t n) #

Generic (LimitType (Letter l n)) Source # 
Instance details

Defined in Biobase.Primary.Letter

Associated Types

type Rep (LimitType (Letter l n)) :: Type -> Type #

Methods

from :: LimitType (Letter l n) -> Rep (LimitType (Letter l n)) x #

to :: Rep (LimitType (Letter l n)) x -> LimitType (Letter l n) #

Translation (Codon (Letter DNA n)) Source # 
Instance details

Defined in Biobase.Primary.Trans

Associated Types

type TargetType (Codon (Letter DNA n)) :: Type #

type CodonType (Codon (Letter DNA n)) :: Type #

type AAType (Codon (Letter DNA n)) :: Type #

IndexStream z => IndexStream (z :. Letter l n) Source # 
Instance details

Defined in Biobase.Primary.Letter

Methods

streamUp :: Monad m => LimitType (z :. Letter l n) -> LimitType (z :. Letter l n) -> Stream m (z :. Letter l n) #

streamDown :: Monad m => LimitType (z :. Letter l n) -> LimitType (z :. Letter l n) -> Stream m (z :. Letter l n) #

IsostericityLookup (ExtPair n) Source #

For extended basepairs, we take the default mapping and go from there.

TODO inClass missing

Instance details

Defined in Biobase.Secondary.Isostericity

IsostericityLookup (Pair n) Source #

Normal basepairs are assumed to have cWW basepairing.

TODO inClass missing

Instance details

Defined in Biobase.Secondary.Isostericity

Methods

getClasses :: Pair n -> [String] Source #

inClass :: String -> [Pair n] Source #

BasepairConvert (Letter RNA n, Letter RNA n) ViennaPair Source # 
Instance details

Defined in Biobase.Secondary.Convert

BasepairConvert (Letter RNA n, Letter RNA n) Basepair Source # 
Instance details

Defined in Biobase.Secondary.Convert

Bounded (Letter AA n) Source # 
Instance details

Defined in Biobase.Primary.AA

Methods

minBound :: Letter AA n #

maxBound :: Letter AA n #

Bounded (Letter DNA n) Source # 
Instance details

Defined in Biobase.Primary.Nuc.DNA

Bounded (Letter RNA n) Source # 
Instance details

Defined in Biobase.Primary.Nuc.RNA

Bounded (Letter XNA n) Source # 
Instance details

Defined in Biobase.Primary.Nuc.XNA

Bounded (Letter DEG n) Source # 
Instance details

Defined in Biobase.Primary.IUPAC

Enum (Letter AA n) Source # 
Instance details

Defined in Biobase.Primary.AA

Methods

succ :: Letter AA n -> Letter AA n #

pred :: Letter AA n -> Letter AA n #

toEnum :: Int -> Letter AA n #

fromEnum :: Letter AA n -> Int #

enumFrom :: Letter AA n -> [Letter AA n] #

enumFromThen :: Letter AA n -> Letter AA n -> [Letter AA n] #

enumFromTo :: Letter AA n -> Letter AA n -> [Letter AA n] #

enumFromThenTo :: Letter AA n -> Letter AA n -> Letter AA n -> [Letter AA n] #

Enum (Letter DNA n) Source # 
Instance details

Defined in Biobase.Primary.Nuc.DNA

Enum (Letter RNA n) Source # 
Instance details

Defined in Biobase.Primary.Nuc.RNA

Enum (Letter XNA n) Source # 
Instance details

Defined in Biobase.Primary.Nuc.XNA

Enum (Letter DEG n) Source # 
Instance details

Defined in Biobase.Primary.IUPAC

Enum (Letter Unknown n) Source # 
Instance details

Defined in Biobase.Primary.Unknown

Eq (Letter seqTy nameTy) Source # 
Instance details

Defined in Biobase.Primary.Letter

Methods

(==) :: Letter seqTy nameTy -> Letter seqTy nameTy -> Bool #

(/=) :: Letter seqTy nameTy -> Letter seqTy nameTy -> Bool #

(Typeable t, Typeable (Letter t n)) => Data (Letter t n) Source #

Manual Data instance because Letter should not show its implementation. This also allows for better use of generic programming downstream.

Instance details

Defined in Biobase.Primary.Letter

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Letter t n -> c (Letter t n) #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (Letter t n) #

toConstr :: Letter t n -> Constr #

dataTypeOf :: Letter t n -> DataType #

dataCast1 :: Typeable t0 => (forall d. Data d => c (t0 d)) -> Maybe (c (Letter t n)) #

dataCast2 :: Typeable t0 => (forall d e. (Data d, Data e) => c (t0 d e)) -> Maybe (c (Letter t n)) #

gmapT :: (forall b. Data b => b -> b) -> Letter t n -> Letter t n #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Letter t n -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Letter t n -> r #

gmapQ :: (forall d. Data d => d -> u) -> Letter t n -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Letter t n -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Letter t n -> m (Letter t n) #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Letter t n -> m (Letter t n) #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Letter t n -> m (Letter t n) #

Ord (Letter seqTy nameTy) Source # 
Instance details

Defined in Biobase.Primary.Letter

Methods

compare :: Letter seqTy nameTy -> Letter seqTy nameTy -> Ordering #

(<) :: Letter seqTy nameTy -> Letter seqTy nameTy -> Bool #

(<=) :: Letter seqTy nameTy -> Letter seqTy nameTy -> Bool #

(>) :: Letter seqTy nameTy -> Letter seqTy nameTy -> Bool #

(>=) :: Letter seqTy nameTy -> Letter seqTy nameTy -> Bool #

max :: Letter seqTy nameTy -> Letter seqTy nameTy -> Letter seqTy nameTy #

min :: Letter seqTy nameTy -> Letter seqTy nameTy -> Letter seqTy nameTy #

Read (Letter AA n) Source # 
Instance details

Defined in Biobase.Primary.AA

Read (Letter DNA n) Source # 
Instance details

Defined in Biobase.Primary.Nuc.DNA

Read (Letter RNA n) Source # 
Instance details

Defined in Biobase.Primary.Nuc.RNA

Read (Letter XNA n) Source # 
Instance details

Defined in Biobase.Primary.Nuc.XNA

Read (Letter Unknown n) Source # 
Instance details

Defined in Biobase.Primary.Unknown

Show (Letter AA n) Source # 
Instance details

Defined in Biobase.Primary.AA

Methods

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

show :: Letter AA n -> String #

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

Show (Letter DNA n) Source # 
Instance details

Defined in Biobase.Primary.Nuc.DNA

Methods

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

show :: Letter DNA n -> String #

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

Show (Letter RNA n) Source # 
Instance details

Defined in Biobase.Primary.Nuc.RNA

Methods

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

show :: Letter RNA n -> String #

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

Show (Letter XNA n) Source # 
Instance details

Defined in Biobase.Primary.Nuc.XNA

Methods

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

show :: Letter XNA n -> String #

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

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 #

Show (Letter Unknown n) Source # 
Instance details

Defined in Biobase.Primary.Unknown

Ix (Letter seqTy nameTy) Source # 
Instance details

Defined in Biobase.Primary.Letter

Methods

range :: (Letter seqTy nameTy, Letter seqTy nameTy) -> [Letter seqTy nameTy] #

index :: (Letter seqTy nameTy, Letter seqTy nameTy) -> Letter seqTy nameTy -> Int #

unsafeIndex :: (Letter seqTy nameTy, Letter seqTy nameTy) -> Letter seqTy nameTy -> Int

inRange :: (Letter seqTy nameTy, Letter seqTy nameTy) -> Letter seqTy nameTy -> Bool #

rangeSize :: (Letter seqTy nameTy, Letter seqTy nameTy) -> Int #

unsafeRangeSize :: (Letter seqTy nameTy, Letter seqTy nameTy) -> Int

Generic (Letter seqTy nameTy) Source # 
Instance details

Defined in Biobase.Primary.Letter

Associated Types

type Rep (Letter seqTy nameTy) :: Type -> Type #

Methods

from :: Letter seqTy nameTy -> Rep (Letter seqTy nameTy) x #

to :: Rep (Letter seqTy nameTy) x -> Letter seqTy nameTy #

Translation (Primary DNA n) Source # 
Instance details

Defined in Biobase.Primary.Trans

Associated Types

type TargetType (Primary DNA n) :: Type #

type CodonType (Primary DNA n) :: Type #

type AAType (Primary DNA n) :: Type #

Transcribe (Primary DNA n) Source # 
Instance details

Defined in Biobase.Primary.Nuc.Conversion

Associated Types

type TranscribeTo (Primary DNA n) :: Type #

Transcribe (Primary RNA n) Source # 
Instance details

Defined in Biobase.Primary.Nuc.Conversion

Associated Types

type TranscribeTo (Primary RNA n) :: Type #

Transcribe (Letter DNA n) Source # 
Instance details

Defined in Biobase.Primary.Nuc.Conversion

Associated Types

type TranscribeTo (Letter DNA n) :: Type #

Transcribe (Letter RNA n) Source # 
Instance details

Defined in Biobase.Primary.Nuc.Conversion

Associated Types

type TranscribeTo (Letter RNA n) :: Type #

Index (Letter l n) Source #

TODO replace LtLetter Int with more specific limits? Maybe some constants?

Instance details

Defined in Biobase.Primary.Letter

Associated Types

data LimitType (Letter l n) :: Type #

IndexStream (Letter l n) Source # 
Instance details

Defined in Biobase.Primary.Letter

Methods

streamUp :: Monad m => LimitType (Letter l n) -> LimitType (Letter l n) -> Stream m (Letter l n) #

streamDown :: Monad m => LimitType (Letter l n) -> LimitType (Letter l n) -> Stream m (Letter l n) #

NFData (Letter t n) Source # 
Instance details

Defined in Biobase.Primary.Letter

Methods

rnf :: Letter t n -> () #

Hashable (Letter t n) Source # 
Instance details

Defined in Biobase.Primary.Letter

Methods

hashWithSalt :: Int -> Letter t n -> Int #

hash :: Letter t n -> Int #

ToJSON (Letter AA n) Source # 
Instance details

Defined in Biobase.Primary.AA

ToJSON (Letter RNA n) Source # 
Instance details

Defined in Biobase.Primary.Nuc.RNA

ToJSON (Letter Unknown n) Source # 
Instance details

Defined in Biobase.Primary.Unknown

LetterChar x n => ToJSON (Pretty [] (Letter x n)) Source # 
Instance details

Defined in Biobase.Primary.Pretty

Methods

toJSON :: Pretty [] (Letter x n) -> Value #

toEncoding :: Pretty [] (Letter x n) -> Encoding #

toJSONList :: [Pretty [] (Letter x n)] -> Value #

toEncodingList :: [Pretty [] (Letter x n)] -> Encoding #

LetterChar x n => ToJSON (Pretty Vector (Letter x n)) Source # 
Instance details

Defined in Biobase.Primary.Pretty

LetterChar x n => ToJSON (Pretty Vector (Letter x n)) Source # 
Instance details

Defined in Biobase.Primary.Pretty

(LetterChar x n, Storable (Letter x n)) => ToJSON (Pretty Vector (Letter x n)) Source # 
Instance details

Defined in Biobase.Primary.Pretty

FromJSON (Letter AA n) Source # 
Instance details

Defined in Biobase.Primary.AA

FromJSON (Letter RNA n) Source # 
Instance details

Defined in Biobase.Primary.Nuc.RNA

FromJSON (Letter Unknown n) Source # 
Instance details

Defined in Biobase.Primary.Unknown

Binary (Letter t n) Source # 
Instance details

Defined in Biobase.Primary.Letter

Methods

put :: Letter t n -> Put #

get :: Get (Letter t n) #

putList :: [Letter t n] -> Put #

Serialize (Letter t n) Source # 
Instance details

Defined in Biobase.Primary.Letter

Methods

put :: Putter (Letter t n) #

get :: Get (Letter t n) #

Unbox (Letter t n) Source # 
Instance details

Defined in Biobase.Primary.Letter

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

newtype MVector s (Letter t n) Source # 
Instance details

Defined in Biobase.Primary.Letter

newtype MVector s (Letter t n) = MV_Letter (MVector s Int)
type Rep (LimitType (Letter l n)) Source # 
Instance details

Defined in Biobase.Primary.Letter

type Rep (LimitType (Letter l n)) = D1 (MetaData "LimitType" "Biobase.Primary.Letter" "BiobaseXNA-0.11.0.0-6sSV7wA2ZNJ62zYFxZDZpd" True) (C1 (MetaCons "LtLetter" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Letter l n))))
type AAType (Codon (Letter DNA n)) Source # 
Instance details

Defined in Biobase.Primary.Trans

type AAType (Codon (Letter DNA n)) = Letter AA n
type CodonType (Codon (Letter DNA n)) Source # 
Instance details

Defined in Biobase.Primary.Trans

type TargetType (Codon (Letter DNA n)) Source # 
Instance details

Defined in Biobase.Primary.Trans

type Rep (Letter seqTy nameTy) Source # 
Instance details

Defined in Biobase.Primary.Letter

type Rep (Letter seqTy nameTy) = D1 (MetaData "Letter" "Biobase.Primary.Letter" "BiobaseXNA-0.11.0.0-6sSV7wA2ZNJ62zYFxZDZpd" True) (C1 (MetaCons "Letter" PrefixI True) (S1 (MetaSel (Just "getLetter") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))
type AAType (Primary DNA n) Source # 
Instance details

Defined in Biobase.Primary.Trans

type AAType (Primary DNA n) = Letter AA n
type CodonType (Primary DNA n) Source # 
Instance details

Defined in Biobase.Primary.Trans

type TargetType (Primary DNA n) Source # 
Instance details

Defined in Biobase.Primary.Trans

newtype LimitType (Letter l n) Source # 
Instance details

Defined in Biobase.Primary.Letter

newtype LimitType (Letter l n) = LtLetter (Letter l n)
newtype Vector (Letter t n) Source # 
Instance details

Defined in Biobase.Primary.Letter

newtype Vector (Letter t n) = V_Letter (Vector Int)
type TranscribeTo (Primary DNA n) Source # 
Instance details

Defined in Biobase.Primary.Nuc.Conversion

type TranscribeTo (Primary RNA n) Source # 
Instance details

Defined in Biobase.Primary.Nuc.Conversion

type TranscribeTo (Letter DNA n) Source # 
Instance details

Defined in Biobase.Primary.Nuc.Conversion

type TranscribeTo (Letter RNA n) Source # 
Instance details

Defined in Biobase.Primary.Nuc.Conversion

changeNameTy :: Letter seqTy nameTy -> Letter seqTy newNameTy Source #

While coerce will always work, this way restricts the change to just the nameTy.

type Primary t n = Vector (Letter t n) Source #

class LetterChar t n where Source #

Convert Letter types into character forms. DNA, RNA, and amino acid sequences can make use of this. Other Letter types only if they have single-char representations.

Instances
LetterChar AA (n :: k) Source # 
Instance details

Defined in Biobase.Primary.AA

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

Defined in Biobase.Primary.Nuc.DNA

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

Defined in Biobase.Primary.Nuc.RNA

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

Defined in Biobase.Primary.Nuc.XNA

class MkPrimary c t n where Source #

Conversion from a large number of sequence-like inputs to primary sequences.

Methods

primary :: c -> Primary t n Source #

Instances
MkPrimary (Vector Char) t n => MkPrimary ByteString t (n :: k) Source # 
Instance details

Defined in Biobase.Primary.Letter

Methods

primary :: ByteString -> Primary t n Source #

MkPrimary (Vector Char) t n => MkPrimary ByteString t (n :: k) Source # 
Instance details

Defined in Biobase.Primary.Letter

Methods

primary :: ByteString -> Primary t n Source #

MkPrimary (Vector Char) t n => MkPrimary Text t (n :: k) Source # 
Instance details

Defined in Biobase.Primary.Letter

Methods

primary :: Text -> Primary t n Source #

MkPrimary (Vector Char) t n => MkPrimary Text t (n :: k) Source # 
Instance details

Defined in Biobase.Primary.Letter

Methods

primary :: Text -> Primary t n Source #

MkPrimary (Vector Char) t n => MkPrimary String t (n :: k) Source # 
Instance details

Defined in Biobase.Primary.Letter

Methods

primary :: String -> Primary t n Source #

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

Defined in Biobase.Primary.AA

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

Defined in Biobase.Primary.Nuc.DNA

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

Defined in Biobase.Primary.Nuc.RNA

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

Defined in Biobase.Primary.Nuc.XNA

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

Defined in Biobase.Primary.IUPAC

MkPrimary (Vector Int) Unknown (n :: k) Source # 
Instance details

Defined in Biobase.Primary.Unknown

Instances for Letter.