BiobaseXNA-0.8.1.0: Efficient RNA/DNA representations

Safe HaskellNone

Biobase.AAseq

Contents

Description

This module has the translation tables for the genetic code.

Synopsis

Documentation

newtype AA Source

The amino acid newtype.

Constructors

AA 

Fields

unAA :: Int
 

Instances

Enum AA 
Eq AA 
Ord AA 
Read AA 
Show AA 
Ix AA 
Prim AA 
Unbox AA 
Vector Vector AA 
MVector MVector AA 
MkAAseq [AA] 
(Shape sh, Show sh, ExtShape sh) => ExtShape (:. sh AA) 
(Shape sh, Show sh) => Shape (:. sh AA) 

Creating functions and aa data.

toAA :: Char -> AASource

Translate Char amino acid representation into efficient AA newtype.

fromAA :: AA -> CharSource

Char representation of an AA.

class MkAAseq x whereSource

Create amino acid sequences from different data sources.

Methods

mkAAseq :: x -> Vector AASource

primaryToAAseq :: Primary -> AAseqSource

Using the codon table, create an AAseq from the Primary sequence.

lookup tables

instances