Skip to content
Snippets Groups Projects
Select Git revision
  • aea78e77172e4b3712c6da0456fabbe637b28369
  • master default protected
  • develop protected
  • cmake_boost_refactor
  • ubuntu_ci
  • mmtf
  • non-orthogonal-maps
  • no_boost_filesystem
  • data_viewer
  • 2.11.1
  • 2.11.0
  • 2.10.0
  • 2.9.3
  • 2.9.2
  • 2.9.1
  • 2.9.0
  • 2.8.0
  • 2.7.0
  • 2.6.1
  • 2.6.0
  • 2.6.0-rc4
  • 2.6.0-rc3
  • 2.6.0-rc2
  • 2.6.0-rc
  • 2.5.0
  • 2.5.0-rc2
  • 2.5.0-rc
  • 2.4.0
  • 2.4.0-rc2
29 results

mat.py

Blame
  • Gabriel Studer's avatar
    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.
    b8c55045
    History
    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']