OpenStructure
mat.py
Go to the documentation of this file.
1 from ost.seq.alg import SubstWeightMatrix
2 
3 def _InitMatrix(preset_enum):
4  mat = SubstWeightMatrix()
5  mat.AssignPreset(preset_enum)
6  return mat
7 
8 BLOSUM45 = _InitMatrix(SubstWeightMatrix.Preset.BLOSUM45)
9 BLOSUM62 = _InitMatrix(SubstWeightMatrix.Preset.BLOSUM62)
10 BLOSUM80 = _InitMatrix(SubstWeightMatrix.Preset.BLOSUM80)
11 BLOSUM100 = _InitMatrix(SubstWeightMatrix.Preset.BLOSUM100)
12 NUC44 = _InitMatrix(SubstWeightMatrix.Preset.NUC44)
13 
14 __all__=['BLOSUM45','BLOSUM62','BLOSUM80','BLOSUM100','NUC44']
position-independet substitution weight matrix