BiobaseTypes-0.2.0.0: Collection of types for bioinformatics

Safe HaskellNone
LanguageHaskell2010

Biobase.Types.ReadingFrame

Description

Stranded reading frames.

Synopsis

Documentation

newtype ReadingFrame Source #

The Reading frame. Sequence indexing starts at position 1, which starts reading frame 1. Reading frame 2 and 3 start at position 2 and 3 respectively.

Constructors

ReadingFrame 

Fields

Instances
Enum ReadingFrame Source #

pred and succ are correct, if the input is a legal ReadingFrame.

Instance details

Defined in Biobase.Types.ReadingFrame

Eq ReadingFrame Source # 
Instance details

Defined in Biobase.Types.ReadingFrame

Ord ReadingFrame Source # 
Instance details

Defined in Biobase.Types.ReadingFrame

Show ReadingFrame Source # 
Instance details

Defined in Biobase.Types.ReadingFrame

Generic ReadingFrame Source # 
Instance details

Defined in Biobase.Types.ReadingFrame

Associated Types

type Rep ReadingFrame :: Type -> Type #

Wrapped ReadingFrame Source # 
Instance details

Defined in Biobase.Types.ReadingFrame

Associated Types

type Unwrapped ReadingFrame :: Type #

ReadingFrame ~ t => Rewrapped ReadingFrame t Source # 
Instance details

Defined in Biobase.Types.ReadingFrame

type Rep ReadingFrame Source # 
Instance details

Defined in Biobase.Types.ReadingFrame

type Rep ReadingFrame = D1 (MetaData "ReadingFrame" "Biobase.Types.ReadingFrame" "BiobaseTypes-0.2.0.0-I16yhMsM66JLeHk27CPQMF" True) (C1 (MetaCons "ReadingFrame" PrefixI True) (S1 (MetaSel (Just "getReadingFrame") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))
type Unwrapped ReadingFrame Source # 
Instance details

Defined in Biobase.Types.ReadingFrame

rf :: Prism' Int ReadingFrame Source #

Convert between +1 ... +3 and ReadingFrame.

strandRF :: Lens' ReadingFrame Strand Source #

A lens for the strand

fromIndex :: Index 1 -> ReadingFrame Source #

TODO should this be a type class, since we might reasonably want to construct from a number of possible indices?