Safe Haskell | None |
---|---|
Language | Haskell2010 |
Parses NCBI BLAST+ tabular output
- blastFromFile :: String -> IO [BlastTabularResult]
- parseTabularBlasts :: ByteString -> [BlastTabularResult]
- genParseBlastProgram :: Parser BlastProgram
- genParseTabularBlast :: Parser BlastTabularResult
- genParseFieldLine :: Parser ()
- genParseBlastTabularHit :: Parser BlastTabularHit
- aminoacidLetters :: Char -> Bool
- nucleotideLetters :: Char -> Bool
- bioLetters :: Char -> Bool
- toLB :: ByteString -> ByteString
Documentation
blastFromFile :: String -> IO [BlastTabularResult] Source #
reads and parses tabular Blast result from provided filePath
parseTabularBlasts :: ByteString -> [BlastTabularResult] Source #
Read a lazy bytestring and stream out a lsit of BlastTabularResult
's.
In case, there is a parse error "late" in the file, we might have
already streamed out some (or many!) of these results.
genParseFieldLine :: Parser () Source #
aminoacidLetters :: Char -> Bool Source #
nucleotideLetters :: Char -> Bool Source #
bioLetters :: Char -> Bool Source #
toLB :: ByteString -> ByteString Source #