BiobaseFasta-0.0.1.0: conduit-based FASTA parser

Safe HaskellNone

Biobase.Fasta.Import

Synopsis

Documentation

data Event Source

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!

Instances

renderEvents :: Monad m => Int -> Conduit Event m ByteStringSource

Render from Events into ByteStrings. cols is the number of characters after which a newline is introduced into the stream. Such newlines are introduced only into Data events.