biohazard-0.6.2: bioinformatics support library

Safe HaskellNone
LanguageHaskell98

Bio.Bam.Regions

Synopsis

Documentation

data Region Source

Constructors

Region 

Fields

refseq :: !Refseq
 
start :: !Int
 
end :: !Int
 

newtype Regions Source

A subset of a genome. The idea is to map the reference sequence (represented by its number) to a Subseqeunce.

Constructors

Regions (IntMap Subsequence) 

Instances

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).

Constructors

Subsequence (IntMap Int) 

lookupLT :: Key -> IntMap a -> Maybe (Key, a) Source