3      Safe-InferredGet the median, adapted from  3http://rosettacode.org/wiki/Averages/Median#Haskell!, but FIXED due to zero indexingGGet the median and median absolute deviation (MAD) of a list of numbersNoneqGets a random sampling by getting either the requested amount either directly or through the inverse (for speed)2Get the number of types of entities in a subsample_Repeat the sampling to get a median and MAD value for the runs for the expected species countsNone+Takes two strings, returns Hamming distanceFast product division)Returns the diversity of a list of thingsgBinomial for small or large numbers (slow but works for big numbers, fast but works for small numbers)9Returns the rarefaction curve for each position in a listDEach sample has a collection of species, return a list of these maps9Returns the rarefaction curve for each position in a list LCalculates the percent of the curve that is above 95% of height of the curve     Safe-Inferred $At each position we have a diversity LAt each position we have a collection of fragments to find the diversity of     Safe-InferredGet the sample ID of a sequenceGenerates fragment list from string of "win" length. This version differs from normal as it takes a tuple with the position as the first entry6Generate the PositionMap from a list of FastaSequencesNone      !"#diversity-0.5.0.2Math.Diversity.StatisticsMath.Diversity.RandomSamplingMath.Diversity.DiversityMath.Diversity.Types Math.Diversity.GenerateDiversityMath.Diversity.Printmedianmedmad subsamplesubsampleSpecies subsampleEShamming diversityrarefactionCurverarefactionSampleCurverarefactionViable DiversityMap PositionMapWindowLabelOrder DiversityPositionSampleFragment fragmentPosgeneratePositionMapprintDiversityprintRarefactionprintRarefactionCurveproductDivisionspecialBinomialgetSampleContents getSample