seqloc-0.6.1.1: Handle sequence locations for bioinformatics

Safe HaskellNone
LanguageHaskell2010

Bio.SeqLoc.OnSeq

Contents

Description

Data types for sequence locations and sequence positions associated with specific, named sequences.

Synopsis

Documentation

newtype SeqLabel :: *

Sequence data are lazy bytestrings of ASCII characters.

Constructors

SeqLabel 

Fields

unSL :: ByteString
 

data OnSeq s Source

Constructors

OnSeq 

Fields

onSeqLabel :: !SeqLabel
 
unOnSeq :: !s
 

Positions on named sequences

type SeqPos = OnSeq Pos Source

A position on a named sequence

Contiguous location spans on named sequences

type ContigSeqLoc = OnSeq ContigLoc Source

A location consisting of a contiguous span of positions on a named sequence.

Arbitrary location spans on named sequences

type SpliceSeqLoc = OnSeq SpliceLoc Source

A general location, consisting of spans of sequence positions on a specific, named sequence.

andSameSeq :: (a -> b -> Bool) -> OnSeq a -> OnSeq b -> Bool Source