Skip to content

Align overhaul#13

Merged
btmonier merged 7 commits into
mainfrom
align-overhaul
May 25, 2026
Merged

Align overhaul#13
btmonier merged 7 commits into
mainfrom
align-overhaul

Conversation

@btmonier
Copy link
Copy Markdown
Member

Summary

Rework align-assemblies and align-mutated-assemblies so they call PHGv2’s align-assemblies CLI (instead of orchestrating AnchorWave/minimap2 through Pixi)

Features

  • Delegate assembly alignment steps to phg align-assemblies
  • Expand unit tests (including AlignMutatedAssembliesUnitTest) and tweak integration/end-to-end wiring

Bug Fixes

  • Alignment no longer runs pixi run anchorwave / minimap2 for these commands. A working PHGv2 installation where validatePhgSetup expects it is required

Breaking Changes

  • None

Checklist

  • I have updated the version in build.gradle.kts (REQUIRED - see below)
  • I have tested these changes locally
  • I have added/updated tests for new functionality
  • I have updated documentation (if applicable)
  • Breaking changes are clearly documented above

@btmonier btmonier requested review from aberthel, smm477 and zrm22 May 13, 2026 13:51
@btmonier btmonier self-assigned this May 13, 2026
@btmonier btmonier added documentation Improvements or additions to documentation enhancement New feature or request labels May 13, 2026
* reference FASTA is filtered out if it accidentally appears in the list
* (PHGv2 warns against including the reference here).
*/
private fun writeAssemblyFileList(fastaFiles: List<Path>, baseOutputDir: Path): Path {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this the same as in AlignAssemblies? Can some of that code just be reused here?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeh. I should make this more "DRY" since I will need to reuse this stuff for v2.

@btmonier btmonier merged commit a32f045 into main May 25, 2026
3 checks passed
@btmonier btmonier deleted the align-overhaul branch May 25, 2026 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants