Select Git revision
Studer Gabriel authored
This allows the easy usage of the alignment algorithms on the c-level. The storage to the info object has been removed.
mat.py 437 B
from ost.seq.alg import SubstWeightMatrix
def _InitMatrix(preset_enum):
mat = SubstWeightMatrix()
mat.AssignPreset(preset_enum)
return mat
BLOSUM45 = _InitMatrix(SubstWeightMatrix.Preset.BLOSUM45)
BLOSUM62 = _InitMatrix(SubstWeightMatrix.Preset.BLOSUM62)
BLOSUM80 = _InitMatrix(SubstWeightMatrix.Preset.BLOSUM80)
BLOSUM100 = _InitMatrix(SubstWeightMatrix.Preset.BLOSUM100)
__all__=['BLOSUM45','BLOSUM62','BLOSUM80','BLOSUM100']