sequence-formats-1.5.1.4: A package with basic parsing utilities for several Bioinformatic data formats.

Safe HaskellNone
LanguageHaskell2010

SequenceFormats.Pileup

Synopsis

Documentation

readPileupFromStdIn :: (MonadIO m, MonadThrow m) => Producer PileupRow m () Source #

Read a pileup-formatted file from StdIn, for reading from an external command `samtools mpileup`.

readPileupFromFile :: MonadSafe m => FilePath -> Producer PileupRow m () Source #

Read pileup from a file.

data PileupRow Source #

A datatype to represent a single pileup row for multiple individuals. The constructor arguments are: Chromosome, Position, Refererence Allelele, Pileup String per individual

Constructors

PileupRow 

Fields

Instances
Eq PileupRow Source # 
Instance details

Defined in SequenceFormats.Pileup

Show PileupRow Source # 
Instance details

Defined in SequenceFormats.Pileup

data Strand Source #

A datatype to represent the strand orientation of a single base.

Instances
Eq Strand Source # 
Instance details

Defined in SequenceFormats.Pileup

Methods

(==) :: Strand -> Strand -> Bool #

(/=) :: Strand -> Strand -> Bool #

Show Strand Source # 
Instance details

Defined in SequenceFormats.Pileup