Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (14 sloc) 0.476 kb
module Constants where
import Data.Vector
type Alphabet = Vector Char
maxProb = 10e1024 :: Double
amino = fromList "ACDEFGHIKLMNPQRSTVWYX"
nucleotide = fromList "ACTG"
betaCoeff = 0.5
-- amino = fromList aminoS :: Alphabet
-- nucleotide = fromList nucleotideS
getResidue :: Alphabet -> Int -> Char
getResidue alpha i = alpha ! i
numAlphabetAdditions = 1 :: Int -- just X for now
data Debugging = Debugging { slicing :: Bool }
debug = Debugging { slicing = False }
Jump to Line
Something went wrong with that request. Please try again.