|
|
|
Description |
Data types for working with locations in a sequence. Zero-based
Int64 indices are used throughout, to facilitate direct use of
indexing functions on SeqData.
|
|
Synopsis |
|
|
|
Documentation |
|
|
General (disjoint) sequence region consisting of a concatenated
set of contiguous regions
| Constructors | | Instances | |
|
|
|
The bounds of a Loc, consisting of the lowest & highest
sequence indices lying within the region. The first element of
the pair will always be lower than the second.
|
|
|
Length of the region
|
|
|
0-based starting (5' in the region orientation) offset of the
region on its sequence.
|
|
|
0-based ending (3' in the region orientation) offset of the
region on its sequence.
|
|
|
:: (Offset, Offset) | (5' extension, 3' extension)
| -> Loc | | -> Loc | | Extend a Loc region by incorporating contigous nucleotide
regions of the specified lengths on the 5' and 3' ends
|
|
|
|
For a Pos and a Loc region on the same sequence, find the
corresponding Pos relative to the region, if the Pos is
within the region. If the Loc region has redundant positions
for a given sequence position, the first is returned.
|
|
|
For a Loc region on a sequence and a Pos relative to the
region, find the corresponding Pos on the sequence, provided
that the position is within the bounds of the region.
|
|
|
For a Pos and a Loc on the same sequence, does the position
fall within the Loc region?
|
|
|
For a pair of Loc regions on the same sequence, do they overlap
at all?
|
|
|
Subsequence SeqData for a Loc, provided that the region is
entirely within the sequence.
|
|
|
|
|
|
Produced by Haddock version 2.4.2 |