biohazard-0.6.13: bioinformatics support library

Safe HaskellNone
LanguageHaskell2010

Bio.Bam.Regions

Synopsis

Documentation

data Region Source #

Constructors

Region 

Fields

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 #