BiobaseBlast-0.3.1.0: BLAST-related tools

Safe HaskellNone
LanguageHaskell2010

Biobase.SubstMatrix.Import

Description

Import PAM/BLOSUM substituion matrices.

Synopsis

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.