hyraxAbif-0.2.3.4: 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 () Source #

Write an Abif to a file

putAbif :: Abif -> Put Source #

Create the Abif using Data.Binary

mkRoot :: Directory Source #

Create the root Directory entry

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

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

mkComment :: Text -> Directory Source #

Create a comment Directory entry and ElemPString data

mkSampleName :: Text -> Directory Source #

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

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

Create a base order (FWO_) Directory entry data

mkLane :: Int16 -> Directory Source #

Create a lane (LANE) Directory entry and data

mkCalledBases :: Text -> Directory Source #

Create a called bases (PBAS) Directory entry and data

mkMobilityFileName :: Int -> Text -> Directory Source #

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

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

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

mkPeakLocations :: [Int16] -> Directory Source #

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

addDirectory :: Abif -> Directory -> Abif Source #

Add a directory to an Abif

data Base Source #

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

Constructors

BaseA 
BaseC 
BaseG 
BaseT