cobot-io-0.1.4.3: Biological data file formats and IO
Safe HaskellNone
LanguageHaskell2010

Bio.Sequence.Range

Synopsis

Documentation

data Range Source #

Constructors

Point

The exact location of a single base feature Example in GB: conf 258

Fields

Span

A region consisting of a simple span of bases. The symbols <and > are used to indicate that the beginning or end of the feature is beyond the range of the presented sequence. Examples in GB: tRNA 1..87 tRNA <1..87 tRNA 1..>87

Between

The feature is between bases. Example in GB: misc_recomb 105^106

Fields

Join

The feature consists of the union of several ranges. Example in GB: origin join(1, 23..50, 77..>100)

Fields

Complement

Indicates that the range is complementary. Example in GB: rep complement(69..420)

Fields

Instances

Instances details
Eq Range Source # 
Instance details

Defined in Bio.Sequence.Range

Methods

(==) :: Range -> Range -> Bool #

(/=) :: Range -> Range -> Bool #

Show Range Source # 
Instance details

Defined in Bio.Sequence.Range

Methods

showsPrec :: Int -> Range -> ShowS #

show :: Range -> String #

showList :: [Range] -> ShowS #

Generic Range Source # 
Instance details

Defined in Bio.Sequence.Range

Associated Types

type Rep Range :: Type -> Type #

Methods

from :: Range -> Rep Range x #

to :: Rep Range x -> Range #

NFData Range Source # 
Instance details

Defined in Bio.Sequence.Range

Methods

rnf :: Range -> () #

type Rep Range Source # 
Instance details

Defined in Bio.Sequence.Range

data Border Source #

The type of range border. A border is Exceeded when its end point is beyond the specified base number, otherwise it is Precise. In GenBank, for example, Exceeded borders are marked with and.

Constructors

Precise 
Exceeded 

Instances

Instances details
Eq Border Source # 
Instance details

Defined in Bio.Sequence.Range

Methods

(==) :: Border -> Border -> Bool #

(/=) :: Border -> Border -> Bool #

Show Border Source # 
Instance details

Defined in Bio.Sequence.Range

Generic Border Source # 
Instance details

Defined in Bio.Sequence.Range

Associated Types

type Rep Border :: Type -> Type #

Methods

from :: Border -> Rep Border x #

to :: Rep Border x -> Border #

NFData Border Source # 
Instance details

Defined in Bio.Sequence.Range

Methods

rnf :: Border -> () #

type Rep Border Source # 
Instance details

Defined in Bio.Sequence.Range

type Rep Border = D1 ('MetaData "Border" "Bio.Sequence.Range" "cobot-io-0.1.4.3-FtR1iZLExqtGkRGhoXEUKM" 'False) (C1 ('MetaCons "Precise" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Exceeded" 'PrefixI 'False) (U1 :: Type -> Type))

data RangeBorder Source #

The end point of a range with indication whether it is Precise of Exceeded (see Border).

Constructors

RangeBorder 

Instances

Instances details
Eq RangeBorder Source # 
Instance details

Defined in Bio.Sequence.Range

Show RangeBorder Source # 
Instance details

Defined in Bio.Sequence.Range

Generic RangeBorder Source # 
Instance details

Defined in Bio.Sequence.Range

Associated Types

type Rep RangeBorder :: Type -> Type #

NFData RangeBorder Source # 
Instance details

Defined in Bio.Sequence.Range

Methods

rnf :: RangeBorder -> () #

type Rep RangeBorder Source # 
Instance details

Defined in Bio.Sequence.Range

type Rep RangeBorder = D1 ('MetaData "RangeBorder" "Bio.Sequence.Range" "cobot-io-0.1.4.3-FtR1iZLExqtGkRGhoXEUKM" 'False) (C1 ('MetaCons "RangeBorder" 'PrefixI 'True) (S1 ('MetaSel ('Just "_borderType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Border) :*: S1 ('MetaSel ('Just "_borderLocation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))