OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
13 __all__=['BLOSUM45','BLOSUM62','BLOSUM80','BLOSUM100']
position-independet substitution weight matrix