BiobaseTypes-0.1.1.1: Collection of types for bioinformatics

Safe HaskellNone
LanguageHaskell2010

Biobase.Types.Accession

Contents

Synopsis

Accession with phantom types.

newtype Accession t Source

The accession number is a unique identifier in bioinformatics.

Depending on the source, accession numbers follow different alphanumeric formats! While letters-than-numbers is quite common, swissprot uses a mix. Hence, we just use a text string as accession.

A phantom type is provided to enable type safety annotations. Helper functions provide smart construction from the Accession tagged generic type.

Constructors

Accession 

Fields

_getAccession :: Text
 

NCBI phantom types

data Nucleotide Source

nucleotide sequence

data Protein Source

protein sequence

Rfam phantom types

data Clan Source

Tag as being a clan.

data Pfam Source

Tag as being a Pfam model.

data Rfam Source

Tag as being an Rfam model. Used for Stockholm and CM files.

data Species Source

Species have an accession number, too.