bio-0.3.5: A bioinformatics librarySource codeContentsIndex
Bio.Util.TestBase
Synopsis
data Test = forall t . Testable t => T String t
newtype Nucleotide = N Char
newtype Quality = Q Word8
fromN :: Nucleotide -> Char
fromQ :: Quality -> Word8
newtype EST = E Sequence
newtype ESTq = Eq Sequence
newtype Protein = P Sequence
newtype EST_short = ES Sequence
newtype EST_long = EL Sequence
newtype EST_set = ESet [Sequence]
time :: String -> IO () -> IO ()
showT :: Integral a => a -> String
integralRandomR :: (Integral a, RandomGen g) => (a, a) -> g -> (a, g)
genOffset :: Gen Offset
genNonNegOffset :: Gen Offset
genPositiveOffset :: Gen Offset
Documentation
data Test Source
Constructors
forall t . Testable t => T String t
newtype Nucleotide Source
Constructors
N Char
show/hide Instances
newtype Quality Source
Constructors
Q Word8
show/hide Instances
fromN :: Nucleotide -> CharSource
fromQ :: Quality -> Word8Source
newtype EST Source
For testing, variable lengths
Constructors
E Sequence
show/hide Instances
newtype ESTq Source
Constructors
Eq Sequence
show/hide Instances
newtype Protein Source
Constructors
P Sequence
show/hide Instances
newtype EST_short Source
For benchmarking, fixed lengths
Constructors
ES Sequence
show/hide Instances
newtype EST_long Source
Constructors
EL Sequence
show/hide Instances
newtype EST_set Source
Constructors
ESet [Sequence]
show/hide Instances
time :: String -> IO () -> IO ()Source
Take time (CPU and wall clock) and report it
showT :: Integral a => a -> StringSource
Print a CPUTime difference
integralRandomR :: (Integral a, RandomGen g) => (a, a) -> g -> (a, g)Source
Shamelessly stolen from FPS
genOffset :: Gen OffsetSource
Constrained position generators
genNonNegOffset :: Gen OffsetSource
genPositiveOffset :: Gen OffsetSource
Produced by Haddock version 2.4.2