Copyright | (c) HyraxBio 2018 |
---|---|
License | BSD3 |
Maintainer | andre@hyraxbio.co.za, andre@andrevdm.com |
Stability | beta |
Safe Haskell | Safe |
Language | Haskell2010 |
Functionality for writing AB1 files.
See generateAb1
for an example of how to create an Ab1
Synopsis
- createAbifBytes :: Abif -> ByteString
- writeAbif :: FilePath -> Abif -> IO ()
- putAbif :: Abif -> Put
- putTextStr :: Text -> Put
- putHeader :: Header -> Put
- putDirectory :: Int -> Directory -> Put
- mkHeader :: Header
- mkRoot :: Directory
- mkData :: Int -> [Int16] -> Directory
- mkComment :: Text -> Directory
- mkSampleName :: Text -> Directory
- mkBaseOrder :: Base -> Base -> Base -> Base -> Directory
- mkLane :: Int16 -> Directory
- mkCalledBases :: Text -> Directory
- mkMobilityFileName :: Int -> Text -> Directory
- mkDyeSignalStrength :: Int16 -> Int16 -> Int16 -> Int16 -> Directory
- mkPeakLocations :: [Int16] -> Directory
- addDirectory :: Abif -> Directory -> Abif
- data Base
Documentation
createAbifBytes :: Abif -> ByteString Source #
Write an Abif
to a ByteString
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
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 #