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]
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