BiobaseTypes-0.2.0.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.

TODO What should the order be? Kingdom > Species or Kingdom < Species?

Instances
Enum Classification Source # 
Instance details

Defined in Biobase.Types.Taxonomy

Eq Classification Source # 
Instance details

Defined in Biobase.Types.Taxonomy

Ord Classification Source # 
Instance details

Defined in Biobase.Types.Taxonomy

Read Classification Source # 
Instance details

Defined in Biobase.Types.Taxonomy

Show Classification Source # 
Instance details

Defined in Biobase.Types.Taxonomy

Generic Classification Source # 
Instance details

Defined in Biobase.Types.Taxonomy

Associated Types

type Rep Classification :: Type -> Type #

NFData Classification Source # 
Instance details

Defined in Biobase.Types.Taxonomy

Methods

rnf :: Classification -> () #

Hashable Classification Source # 
Instance details

Defined in Biobase.Types.Taxonomy

ToJSON Classification Source # 
Instance details

Defined in Biobase.Types.Taxonomy

FromJSON Classification Source # 
Instance details

Defined in Biobase.Types.Taxonomy

Binary Classification Source # 
Instance details

Defined in Biobase.Types.Taxonomy

Serialize Classification Source # 
Instance details

Defined in Biobase.Types.Taxonomy

Unbox Classification Source # 
Instance details

Defined in Biobase.Types.Taxonomy

Vector Vector Classification Source # 
Instance details

Defined in Biobase.Types.Taxonomy

MVector MVector Classification Source # 
Instance details

Defined in Biobase.Types.Taxonomy

type Rep Classification Source # 
Instance details

Defined in Biobase.Types.Taxonomy

type Rep Classification = D1 (MetaData "Classification" "Biobase.Types.Taxonomy" "BiobaseTypes-0.2.0.1-B9coIbijR6NEFcCxvqIOZp" False) (((C1 (MetaCons "Kingdom" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Phylum" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Class" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Order" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "SubOrder" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Family" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Genus" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Species" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Unknown" PrefixI False) (U1 :: Type -> Type)))))
newtype Vector Classification Source # 
Instance details

Defined in Biobase.Types.Taxonomy

newtype MVector s Classification Source # 
Instance details

Defined in Biobase.Types.Taxonomy

data Taxon Source #

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

Constructors

Taxon 

Fields

Instances
Eq Taxon Source # 
Instance details

Defined in Biobase.Types.Taxonomy

Methods

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

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

Read Taxon Source # 
Instance details

Defined in Biobase.Types.Taxonomy

Show Taxon Source # 
Instance details

Defined in Biobase.Types.Taxonomy

Methods

showsPrec :: Int -> Taxon -> ShowS #

show :: Taxon -> String #

showList :: [Taxon] -> ShowS #

Generic Taxon Source # 
Instance details

Defined in Biobase.Types.Taxonomy

Associated Types

type Rep Taxon :: Type -> Type #

Methods

from :: Taxon -> Rep Taxon x #

to :: Rep Taxon x -> Taxon #

NFData Taxon Source # 
Instance details

Defined in Biobase.Types.Taxonomy

Methods

rnf :: Taxon -> () #

Hashable Taxon Source # 
Instance details

Defined in Biobase.Types.Taxonomy

Methods

hashWithSalt :: Int -> Taxon -> Int #

hash :: Taxon -> Int #

ToJSON Taxon Source # 
Instance details

Defined in Biobase.Types.Taxonomy

FromJSON Taxon Source # 
Instance details

Defined in Biobase.Types.Taxonomy

Binary Taxon Source # 
Instance details

Defined in Biobase.Types.Taxonomy

Methods

put :: Taxon -> Put #

get :: Get Taxon #

putList :: [Taxon] -> Put #

Serialize Taxon Source # 
Instance details

Defined in Biobase.Types.Taxonomy

Methods

put :: Putter Taxon #

get :: Get Taxon #

type Rep Taxon Source # 
Instance details

Defined in Biobase.Types.Taxonomy

type Rep Taxon = D1 (MetaData "Taxon" "Biobase.Types.Taxonomy" "BiobaseTypes-0.2.0.1-B9coIbijR6NEFcCxvqIOZp" False) (C1 (MetaCons "Taxon" PrefixI True) (S1 (MetaSel (Just "species") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SpeciesName) :*: (S1 (MetaSel (Just "accession") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Accession Species)) :*: S1 (MetaSel (Just "classification") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Vector (TaxonomicRank, Classification))))))