Enumeratee that transforms a stream of ByteString
s into a stream of
VerboseHit
s.
- eneeVerboseHit :: (Functor m, Monad m) => Enumeratee ByteString [VerboseHit] m a
- fromFile :: FilePath -> IO [VerboseHit]
Documentation
eneeVerboseHit :: (Functor m, Monad m) => Enumeratee ByteString [VerboseHit] m aSource
Transforms a stream into verbose hits. We need to keep a state in the accumulator to keep track of the current CM, scaffold and strand.
fromFile :: FilePath -> IO [VerboseHit]Source
Parses multiple four-line elements.
Convenience function: read all results into a single list.