seqloc-0.6.1.1: Handle sequence locations for bioinformatics

Safe HaskellNone
LanguageHaskell2010

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 -> Char Source

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

class Stranded s where Source

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

Methods

revCompl :: s -> s Source

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

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