seqloc-0.3.1.2: Handle sequence locations for bioinformatics

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
 

Instances

Eq s => Eq (OnSeq s) 
Ord s => Ord (OnSeq s) 
BioSeq (OnSeq ByteString) 
LocRepr s => LocRepr (OnSeq s) 
Stranded s => Stranded (OnSeq s) 

Positions on named sequences

type SeqPos = OnSeq PosSource

A position on a named sequence

Contiguous location spans on named sequences

type ContigSeqLoc = OnSeq ContigLocSource

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

Arbitrary location spans on named sequences

type SpliceSeqLoc = OnSeq SpliceLocSource

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

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