Resume Multiple Sequence Alignments#376
Merged
Merged
Conversation
Merge in upstream changes
Merge in upstream changes
Owner
|
Hi Neil, |
Collaborator
Author
|
This is because the checkpoint file (which needs the threshold to be written so the resume can use the same threshold) is currently created within either There's no real need for it to be written within those functions though, it's inelegant and I will change that. Are you happy with the helper function spam in |
Owner
|
Thanks for that. Yes, happy with the spam 😄 |
added 6 commits
May 19, 2026 11:30
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds the ability to resume MSAs which hit resource/runtime limits with
panaroo-msa --resume, for both non-codon and codon alignments.Does this by writing a small JSON with the alignment parameters, which is checked for when an alignment starts. Alignment module then looks for completed output in aligned_gene_sequences (or also aligned_protein_sequences for codon alignments) and skips things which are already there.
Done testing on two small datasets so far, seems to run without issues and produces 100% identical output. May be worth adding an experimental flag in the initial release however.