BiobaseXNA-0.8.2.0: Efficient RNA/DNA representations

Safe HaskellNone

Biobase.Primary.IUPAC

Contents

Description

Degenerate base symbol representation. We use the same conventions as in which ignores Uracil, except if it stands alone. Therefore, any RNA sequence should be converted to DNA (and back afterwards).

NOTE that the generic Char instance is not optimized for speed.

TODO this should be easier once we have instances for RNA,DNA, etc

Synopsis

Documentation

class Degenerate x whereSource

Methods

fromSymbol :: x -> [x]Source

toSymbol :: [x] -> Maybe xSource

Instances

Degenerate Char 

Raw embeddings

iupacList :: [(Char, String)]Source

list of characters

iupacNucleotides :: ByteStringSource

Raw iupac data, embedded into the library.