Safe Haskell | None |
---|---|
Language | Haskell2010 |
Import PAM/BLOSUM substituion matrices.
Synopsis
- fromByteString :: MonadError String m => ByteString -> m (AASubstMat t (DiscLogOdds k) a)
- fromFile :: (MonadIO m, MonadError String m) => FilePath -> m (AASubstMat t (DiscLogOdds k) a)
Documentation
fromByteString :: MonadError String m => ByteString -> m (AASubstMat t (DiscLogOdds k) a) Source #
Import substituion matrix from a bytestring.
TODO the parser is fragile, since it uses read
. This should be fixed.
fromFile :: (MonadIO m, MonadError String m) => FilePath -> m (AASubstMat t (DiscLogOdds k) a) Source #
Import substitution matrix from file.