bioinformatics-toolkit-0.5.0: A collection of bioinformatics tools

Safe HaskellNone
LanguageHaskell2010

Bio.Motif.Alignment

Synopsis

Documentation

alignmentBy Source #

Arguments

:: DistanceFn

compute the distance between two aligned pwms

-> PenalFn

gap penalty

-> CombineFn 
-> AlignFn 

linPenal :: Double -> PenalFn Source #

linear penalty

quadPenal :: Double -> PenalFn Source #

quadratic penalty

cubPenal :: Double -> PenalFn Source #

cubic penalty

expPenal :: Double -> PenalFn Source #

exponentail penalty

type AlignFn Source #

Arguments

 = PWM 
-> PWM 
-> (Double, (Bool, Int))

(distance, (on same direction, position w.r.t. the first pwm))

type CombineFn = Vector Double -> Double Source #

combine distances from different positions of alignment