BiobaseTypes-0.1.2.1: Collection of types for bioinformatics

Safe HaskellNone
LanguageHaskell2010

Biobase.Types.Taxonomy

Description

Biological classification of species.

Synopsis

Documentation

data Classification Source #

Taxonomic classification. Enum together with a final Unknown is somewhat fishy.

Instances

Enum Classification Source # 
Eq Classification Source # 
Ord Classification Source # 
Read Classification Source # 
Show Classification Source # 
Generic Classification Source # 

Associated Types

type Rep Classification :: * -> * #

Hashable Classification Source # 
ToJSON Classification Source # 
FromJSON Classification Source # 
Binary Classification Source # 
Serialize Classification Source # 
NFData Classification Source # 

Methods

rnf :: Classification -> () #

Unbox Classification Source # 
Vector Vector Classification Source # 
MVector MVector Classification Source # 
type Rep Classification Source # 
type Rep Classification = D1 (MetaData "Classification" "Biobase.Types.Taxonomy" "BiobaseTypes-0.1.2.1-1LTYzU1e5OWItpBBqXiV1g" False) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "Kingdom" PrefixI False) U1) (C1 (MetaCons "Phylum" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Class" PrefixI False) U1) (C1 (MetaCons "Order" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "SubOrder" PrefixI False) U1) (C1 (MetaCons "Family" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Genus" PrefixI False) U1) ((:+:) (C1 (MetaCons "Species" PrefixI False) U1) (C1 (MetaCons "Unknown" PrefixI False) U1)))))
data Vector Classification Source # 
data MVector s Classification Source # 

data Taxon Source #

A somewhat generic representation of a species within a taxonomic context.

Constructors

Taxon 

Fields

Instances

Eq Taxon Source # 

Methods

(==) :: Taxon -> Taxon -> Bool #

(/=) :: Taxon -> Taxon -> Bool #

Read Taxon Source # 
Show Taxon Source # 

Methods

showsPrec :: Int -> Taxon -> ShowS #

show :: Taxon -> String #

showList :: [Taxon] -> ShowS #

Generic Taxon Source # 

Associated Types

type Rep Taxon :: * -> * #

Methods

from :: Taxon -> Rep Taxon x #

to :: Rep Taxon x -> Taxon #

Hashable Taxon Source # 

Methods

hashWithSalt :: Int -> Taxon -> Int #

hash :: Taxon -> Int #

ToJSON Taxon Source # 
FromJSON Taxon Source # 
Binary Taxon Source # 

Methods

put :: Taxon -> Put #

get :: Get Taxon #

putList :: [Taxon] -> Put #

Serialize Taxon Source # 

Methods

put :: Putter Taxon #

get :: Get Taxon #

NFData Taxon Source # 

Methods

rnf :: Taxon -> () #

type Rep Taxon Source # 
type Rep Taxon = D1 (MetaData "Taxon" "Biobase.Types.Taxonomy" "BiobaseTypes-0.1.2.1-1LTYzU1e5OWItpBBqXiV1g" False) (C1 (MetaCons "Taxon" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "species") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 SpeciesName)) ((:*:) (S1 (MetaSel (Just Symbol "accession") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 (Accession Species))) (S1 (MetaSel (Just Symbol "classification") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 (Vector (TaxonomicRank, Classification)))))))