| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Bio.SeqLoc.Bed
Description
Utilities for reading and writing BED format gene annotations
- readBedTranscripts :: FilePath -> IO [Transcript]
- bedZP :: Parser Transcript
- bedTranscriptEnum :: Monad m => Iteratee [Transcript] m a -> Iteratee ByteString m a
- bedConduit :: (Monad m, MonadBase IO m) => Conduit ByteString m Transcript
- unbedConduit :: Monad m => Conduit Transcript m ByteString
- transcriptToBed :: ByteString -> ByteString -> Transcript -> ByteString
- transcriptToBedStd :: Transcript -> ByteString
Documentation
readBedTranscripts :: FilePath -> IO [Transcript] Source
Read all BED format annotations in a BED file
bedZP :: Parser Transcript Source
Minimalistic Parser-style parser for a BED format line, not
including the trailing newline.
bedTranscriptEnum :: Monad m => Iteratee [Transcript] m a -> Iteratee ByteString m a Source
Iteratee to convert an Iteratee over a ByteString,
such as the standard fileDriver, into an iteratee over a
list of Transcript annotations from the file.
bedConduit :: (Monad m, MonadBase IO m) => Conduit ByteString m Transcript Source
Conduit from a ByteString source such as a BED file to a
source of Transcript annotations from the file.
unbedConduit :: Monad m => Conduit Transcript m ByteString Source
Arguments
| :: ByteString | score |
| -> ByteString | itemRGB |
| -> Transcript | transcript |
| -> ByteString |
Convert a Transcript to a BED annotation line, specifying the
score and itemRGB fields.
transcriptToBedStd :: Transcript -> ByteString Source
Convert a Transcript to a BED annotation line.