| Safe Haskell | None |
|---|
Biobase.Fasta.Import
- parseFastaWindows :: Monad m => Int -> Conduit ByteString m FastaWindow
- renderFastaWindows :: Monad m => Int -> Conduit FastaWindow m ByteString
- data Event
- = Header !ByteString !ByteString
- | Data !ByteString
- | Done
- isHeader :: Event -> Bool
- parseEvents :: Monad m => Int -> GInfConduit ByteString m Event
- renderEvents :: Monad m => Int -> Conduit Event m ByteString
- printHeader :: Event -> ByteString
- test :: IO ()
Documentation
parseFastaWindows :: Monad m => Int -> Conduit ByteString m FastaWindowSource
Parse from ByteString into FastaWindows with a past.
renderFastaWindows :: Monad m => Int -> Conduit FastaWindow m ByteStringSource
Render from FastaWindows into ByteStrings.
An event is either a FASTA header or a part of a FASTA data stream,
chunked into user-defineable pieces. If there is no more input, we are
Done. But we are only Done if there was some input in the first place!
Constructors
| Header !ByteString !ByteString | |
| Data !ByteString | |
| Done |
parseEvents :: Monad m => Int -> GInfConduit ByteString m EventSource
Parse from ByteString into Events.
renderEvents :: Monad m => Int -> Conduit Event m ByteStringSource
printHeader :: Event -> ByteStringSource