Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- callToDosage :: Char -> Char -> Call -> Maybe Int
- data Call
- callGenotypeFromPileup :: CallingMode -> Int -> String -> IO Call
- callMajorityAllele :: Bool -> Int -> String -> IO Call
- findMajorityAlleles :: String -> [Char]
- callRandomAllele :: String -> IO Call
- callRandomDiploid :: String -> IO Call
- data CallingMode
- data TransitionsMode
- filterTransitions :: Monad m => TransitionsMode -> Pipe FreqSumEntry FreqSumEntry m ()
- cleanSSdamageAllSamples :: Char -> Char -> [String] -> [[Strand]] -> [String]
Documentation
callToDosage :: Char -> Char -> Call -> Maybe Int Source #
a function to turn a call into the dosage of non-reference alleles
A datatype to represent a single genotype call
callGenotypeFromPileup :: CallingMode -> Int -> String -> IO Call Source #
Make a call from alleles
callMajorityAllele :: Bool -> Int -> String -> IO Call Source #
Sample the majority allele, or one of the majority alleles
findMajorityAlleles :: String -> [Char] Source #
Find the majority allele(s)
data CallingMode Source #
A datatype to specify the calling mode
data TransitionsMode Source #
Instances
Eq TransitionsMode Source # | |
Defined in SequenceTools.PileupCaller (==) :: TransitionsMode -> TransitionsMode -> Bool # (/=) :: TransitionsMode -> TransitionsMode -> Bool # |
filterTransitions :: Monad m => TransitionsMode -> Pipe FreqSumEntry FreqSumEntry m () Source #