The primary structure: interface to efficient encoding of RNA and DNA
sequences. The design aims toward the
vector library and repa. In
particular, everything is strict; if you want to stream full genomes, use
text or lazy
bytestrings instead and cast to Biobase.Primary definitions
only at the last moment.
NOTE individual nucleotides are encoded is
Ints internally without any
tagging. This means that we have no way of deciding if we are dealing with
RNA or DNA on this level.
Convert different types of sequence representations to the internal
Efficient nucleotide encoding
The bounded instance from GHC proper. Captures all defined symbols.
Human-readable Read instance.
Human-readable Show instance.
Special bounds for energy / score arrays
|Vector Vector Nuc|
|MVector MVector Nuc|
|MkViennaPair (Nuc, Nuc)|