bio-0.3.5: A bioinformatics librarySource codeContentsIndex
Bio.Location.Position
Description
Positions on a sequence. Zero-based Int64 indices are used throughout, to facilitate direct use of indexing functions on SeqData.
Synopsis
data Pos = Pos {
offset :: !Offset
strand :: !Strand
}
slide :: Pos -> Offset -> Pos
seqNt :: (Error e, MonadError e m) => SeqData -> Pos -> m Char
seqNtPadded :: SeqData -> Pos -> Char
display :: Pos -> String
Documentation
data Pos Source
Position in a sequence
Constructors
Pos
offset :: !Offset0-based index of the position
strand :: !StrandOptional strand of the position
show/hide Instances
slide :: Pos -> Offset -> PosSource
Slide a position by an offset
seqNt :: (Error e, MonadError e m) => SeqData -> Pos -> m CharSource
seqNtPadded :: SeqData -> Pos -> CharSource
display :: Pos -> StringSource
Produced by Haddock version 2.4.2