diversity-0.2.0.5: Return the diversity at each position for all sequences in a fasta file

Safe HaskellSafe-Inferred
LanguageHaskell98

Diversity.GenerateDiversity

Description

Collection of functions for the collection of fragments for the diversity calculations.

Synopsis

Documentation

fragmentPos :: Bool -> Int -> [(Position, String)] -> [(Position, String)] 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 -> Window -> [FastaSequence] -> PositionMap Source

Generate the PositionMap from a list of FastaSequences