|
Bio.Location.ContigLocation |
|
|
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 |
|
|
Contiguous set of positions in a sequence
| Constructors | ContigLoc | | offset5 :: !Offset | 5' end of region on target sequence, 0-based index
| length :: !Offset | length of region on target sequence
| strand :: !Strand | strand of region
|
|
| Instances | |
|
|
|
Create a ContigLoc from 0-based starting and ending positions.
When start is less than end the position will be on the Fwd
Strand, otherwise it will be on the RevCompl strand.
|
|
|
Create a ContigLoc from a Pos.Pos defining the start
(ContigLoc 5 prime end) position on the sequence and the length.
|
|
|
The bounds of a ContigLoc, a pair of the lowest and highest
sequence indices covered by the region, which ignores the strand
of the ContigLoc. The first element of the pair will always be
lower than the second.
|
|
|
0-based starting (5' in the region orientation) position
|
|
|
0-based ending (3' in the region orientation) position
|
|
|
Move a ContigLoc region by a specified offset
|
|
|
ContigLoc extended on the 5' and 3' ends.
|
|
|
For a Pos and a ContigLoc on the same sequence, find the
corresponding Pos relative to the ContigLoc, provided it is
within the ContigLoc.
|
|
|
For a Pos specified relative to a ContigLoc, find the
corresponding Pos relative to the outer sequence, provided that
the Pos is within the bounds of the ContigLoc.
|
|
|
Subsequence SeqData for a ContigLoc, provided that the region
is entirely within the sequence.
|
|
|
Subsequence SeqData for a ContigLoc, padded as needed with Ns
|
|
|
For a Pos and a ContigLoc on the same sequence, is the Pos
within the ContigLoc.
|
|
|
For a pair of ContigLoc regions on the same sequence, indicates
if they overlap at all.
|
|
|
|
Produced by Haddock version 2.4.2 |