Iteratee-based parsing of Infernal covariance models.
TODO does not create working CMs yet. Only partial key/value parsing is implemented.
- eneeCM :: Monad m => Enumeratee ByteString [CM] m a
- iterNodes :: Monad m => Iteratee [ByteString] m [Node]
- data Node = Node {
- nodeHeader :: ByteString
- nodeIndex :: Int
- isNodeHeader :: ByteString -> (Bool, (ByteString, Int))
- isState :: ByteString -> (Bool, ByteString)
- fromFile :: FilePath -> IO (ID2CM, AC2CM)
- fromFileZip :: FilePath -> IO (ID2CM, AC2CM)
iteratee stuff
eneeCM :: Monad m => Enumeratee ByteString [CM] m aSource
iteratee-based parsing of human-readable CMs.
Node | |
|
isNodeHeader :: ByteString -> (Bool, (ByteString, Int))Source
isState :: ByteString -> (Bool, ByteString)Source