Safe Haskell | Safe-Infered |
---|
Importing of FR3D data. Both basepairs and near interactions are currently supported. More parsers will come if required.
- iFR3D :: Monad m => Iteratee ByteString m FR3D
- bs2basepair :: ByteString -> Basepair
- fromDirSelect :: String -> FilePath -> IO [FR3D]
- fromDirNear :: FilePath -> IO [FR3D]
- fromDir :: FilePath -> IO [FR3D]
Documentation
iFR3D :: Monad m => Iteratee ByteString m FR3DSource
An Iteratee from a bytestring to one FR3D entry. Since each file contains exactly one entry, this is no problem.
bs2basepair :: ByteString -> BasepairSource
Helper function turning a bytestring line into a basepair entry
fromDirSelect :: String -> FilePath -> IO [FR3D]Source
Convenience function: given a directory name, extracts a list of all FR3D entries.
fromDirNear :: FilePath -> IO [FR3D]Source
This one select the near interactions