1 2 3 4 5 6 7 8 9 10 11 12 13 14
|
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)
NUC44 = _InitMatrix(SubstWeightMatrix.Preset.NUC44)
__all__=['BLOSUM45','BLOSUM62','BLOSUM80','BLOSUM100','NUC44']
|