Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data Region = Region {}
- newtype Regions = Regions (IntMap Subsequence)
- newtype Subsequence = Subsequence (IntMap Int)
- toList :: Regions -> [(Refseq, Subsequence)]
- fromList :: [Region] -> Regions
- add :: Region -> Regions -> Regions
- addInt :: Int -> Int -> Subsequence -> Subsequence
- overlaps :: Int -> Int -> Subsequence -> Bool
Documentation
A subset of a genome. The idea is to map the reference sequence
(represented by its number) to a Subseqeunce
.
newtype Subsequence Source #
A mostly contiguous subset of a sequence, stored as a set of
non-overlapping intervals in an IntMap
from start position to end
position (half-open intervals, naturally).
Instances
Show Subsequence Source # | |
Defined in Bio.Bam.Regions showsPrec :: Int -> Subsequence -> ShowS # show :: Subsequence -> String # showList :: [Subsequence] -> ShowS # |
addInt :: Int -> Int -> Subsequence -> Subsequence Source #