BiobaseInfernal-0.6.2.0: Infernal data structures and tools

Biobase.Infernal.VerboseHit.Import

Description

Enumeratee that transforms a stream of ByteStrings into a stream of VerboseHits.

Synopsis

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.