Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell98 |
Collection of functions for the collection of fragments for the diversity calculations.
- fragmentPos :: Bool -> Int -> [(Position, Fragment)] -> [(Position, Fragment)]
- generatePositionMap :: Bool -> Int -> Bool -> Window -> [FastaSequence] -> PositionMap
Documentation
fragmentPos :: Bool -> Int -> [(Position, Fragment)] -> [(Position, Fragment)] Source
Generates fragment list from string of "win" length. This version differs from normal as it takes a tuple with the position as the first entry
generatePositionMap :: Bool -> Int -> Bool -> Window -> [FastaSequence] -> PositionMap Source
Generate the PositionMap from a list of FastaSequences