00001 from ost.seq.alg import SubstWeightMatrix
00002
00003 def _InitMatrix(preset_enum):
00004 mat = SubstWeightMatrix()
00005 mat.AssignPreset(preset_enum)
00006 return mat
00007
00008 BLOSUM45 = _InitMatrix(SubstWeightMatrix.Preset.BLOSUM45)
00009 BLOSUM62 = _InitMatrix(SubstWeightMatrix.Preset.BLOSUM62)
00010 BLOSUM80 = _InitMatrix(SubstWeightMatrix.Preset.BLOSUM80)
00011 BLOSUM100 = _InitMatrix(SubstWeightMatrix.Preset.BLOSUM100)
00012
00013 __all__=['BLOSUM45','BLOSUM62','BLOSUM80','BLOSUM100']