bio-0.3.5: A bioinformatics library
Source code
Contents
Index
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
:: !
Offset
0-based index of the position
strand
:: !
Strand
Optional strand of the position
Instances
Eq
Pos
Ord
Pos
Read
Pos
Show
Pos
Ix
Pos
Stranded
Pos
slide
::
Pos
->
Offset
->
Pos
Source
Slide a position by an offset
seqNt
:: (
Error
e,
MonadError
e m) =>
SeqData
->
Pos
-> m
Char
Source
seqNtPadded
::
SeqData
->
Pos
->
Char
Source
display
::
Pos
->
String
Source
Produced by
Haddock
version 2.4.2