sequence-formats-1.10.0.0: A package with basic parsing utilities for several Bioinformatic data formats.
Safe HaskellNone
LanguageHaskell2010

SequenceFormats.RareAlleleHistogram

Description

Synopsis

Documentation

data RareAlleleHistogram Source #

A datatype to represent an Allele Sharing Histogram:

Constructors

RareAlleleHistogram 

Fields

readHistogramFromHandle :: MonadIO m => Handle -> m RareAlleleHistogram Source #

Read a histogram from a File Handle.

type SitePattern = [Int] Source #

A simple type synonym for the SitePattern, represented as a list of Integers that represents each pattern across the branches.

readHistogram :: MonadIO m => FilePath -> m RareAlleleHistogram Source #

Read a histogram from a FilePath

writeHistogramStdOut :: MonadIO m => RareAlleleHistogram -> m () Source #

Write a histogram to the stdout

writeHistogramFile :: MonadIO m => FilePath -> RareAlleleHistogram -> m () Source #

Write a histogram to a file

showSitePattern :: SitePattern -> String Source #

A simple function to convert a pattern into a String.