Safe Haskell | None |
---|---|
Language | Haskell2010 |
Bio.SeqLoc.Position
Description
Sequence positions
An Offset
is a zero-based index into a sequence
Stranded position in a sequence
Constructors
Pos | |
Manipulating positions
slide :: Pos -> Offset -> Pos #
Returns a position resulting from sliding the original position along the sequence by a specified offset. A positive offset will move the position away from the 5' end of the forward stand of the sequence regardless of the strand of the position itself. Thus,
slide (revCompl pos) off == revCompl (slide pos off)