hyraxAbif-0.2.3.15: Modules for parsing, generating and manipulating AB1 files.

Copyright(c) HyraxBio 2018
LicenseBSD3
Maintainerandre@hyraxbio.co.za, andre@andrevdm.com
Stabilitybeta
Safe HaskellSafe
LanguageHaskell2010

Hyrax.Abif.Write

Description

Functionality for writing AB1 files. See generateAb1 for an example of how to create an Ab1

Synopsis

Documentation

writeAbif :: FilePath -> Abif -> IO () #

Write an Abif to a file

putAbif :: Abif -> Put #

Create the Abif using Data.Binary

putTextStr :: Text -> Put #

Write Text

putHeader :: Header -> Put #

Write a Header

mkHeader :: Header #

Create a Header

mkRoot :: Directory #

Create the root Directory entry

mkData :: Int -> [Int16] -> Directory #

Create a data (DATA) Directory entry and array of ElemShort data

mkComment :: Text -> Directory #

Create a comment Directory entry and ElemPString data

mkSampleName :: Text -> Directory #

Create a sample name (SMPL) Directory entry and ElemPString data

mkBaseOrder :: Base -> Base -> Base -> Base -> Directory #

Create a base order (FWO_) Directory entry data

mkLane :: Int16 -> Directory #

Create a lane (LANE) Directory entry and data

mkCalledBases :: Text -> Directory #

Create a called bases (PBAS) Directory entry and data

mkMobilityFileName :: Int -> Text -> Directory #

Create a mobility file name (PDMF) Directory entry and ElemPString data

mkDyeSignalStrength :: Int16 -> Int16 -> Int16 -> Int16 -> Directory #

Create a signal strength (S/N%) Directory entry and data

mkPeakLocations :: [Int16] -> Directory #

Create a peak locations (PLOC) Directory entry and array of ElemShort data

addDirectory :: Abif -> Directory -> Abif #

Add a directory to an Abif

data Base #

Used to specify the base order for the FWO directry entry, see mkBaseOrder

Constructors

BaseA 
BaseC 
BaseG 
BaseT