BiobaseBlast-0.3.3.0: BLAST-related tools
Safe HaskellNone
LanguageHaskell2010

Biobase.SubstMatrix.Import

Description

Import PAM/BLOSUM substituion matrices.

Synopsis

Documentation

fromByteString :: (MonadError String m, Real (Discretized k)) => ByteString -> m (AASubstMat t (DiscLogOdds k) a b) 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, Real (Discretized k)) => FilePath -> m (AASubstMat t (DiscLogOdds k) a b) Source #

Import substitution matrix from file.