Skip to content

Conversation

@diegozea
Copy link
Owner

Summary

  • move the BLOSUM62 table to ResidueSubstitutionMatrices.jl
  • represent it as a ResidueSubstitutionMatrix with a new GappedXAlphabet
  • update _pairwise_score and sum_of_pairs_score to require a ResidueSubstitutionMatrix
  • accept any Real gap penalties and convert them to the matrix element type
  • adjust tests for the new API
  • document the change in NEWS.md
  • define GappedXAlphabet in Alphabet.jl and add docstring for BLOSUM62

Testing

  • JULIA_PKG_DISABLE_DEPS_CHECK=1 julia --project -e 'push!(LOAD_PATH, "test"); using MIToSTests; MIToSTests.retest("MSA"); MIToSTests.retest("MSA")'

https://chatgpt.com/codex/tasks/task_b_684c2f9dc9bc832daa7813a83e2bdb50

@diegozea diegozea merged commit 798bcdc into master Jun 13, 2025
7 of 8 checks passed
diegozea added a commit that referenced this pull request Oct 16, 2025
* Adapt scoring functions to matrix type

* Allow Real gap penalties with promotion

* Fix line lengths and finalize substitution matrix
diegozea added a commit that referenced this pull request Oct 16, 2025
* Adapt scoring functions to matrix type

* Allow Real gap penalties with promotion

* Fix line lengths and finalize substitution matrix
diegozea added a commit that referenced this pull request Oct 16, 2025
* Adapt scoring functions to matrix type

* Allow Real gap penalties with promotion

* Fix line lengths and finalize substitution matrix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants