Safe Haskell | None |
---|---|
Language | Haskell2010 |
Stranded reading frames.
Synopsis
- newtype ReadingFrame = ReadingFrame {}
- rf :: Prism' Int ReadingFrame
- strandRF :: Lens' ReadingFrame Strand
- fromIndex :: Index 1 -> ReadingFrame
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.
Instances
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?