seqloc-0.5.0.2: Handle sequence locations for bioinformatics

Safe HaskellSafe-Infered

Bio.SeqLoc.Strand

Description

Utilities for manipulating nucleotide sequences and locations on nucleotide sequences that occur on a forward or a reverse-complement strand.

Synopsis

Documentation

data Strand

A Strand is either plus (forward) or minus (reverse or reverse-complement)

Constructors

Plus 
Minus 

compl :: Char -> CharSource

Complement of a nucleotide character, swap AT and GC preserving case and leave all other characters unchanged.

class Stranded s whereSource

A nucleotide sequence or location on a nucleotide sequence that lies on a specific strand and has an orientation.

Methods

revCompl :: s -> sSource

stranded :: Stranded s => Strand -> s -> sSource

Convert the orientation of a Stranded thing based on a specified Strand