Skip to content

Recombination Section Enhancements#10

Merged
btmonier merged 11 commits intomainfrom
recombination-mods
Jan 5, 2026
Merged

Recombination Section Enhancements#10
btmonier merged 11 commits intomainfrom
recombination-mods

Conversation

@btmonier
Copy link
Member

Summary

Improves default parameter generation and guardrails during recombination steps

Features

  • Adds better defaults depending on prior steps for assembly lists
  • Adds missing maf-to-gvcf step
  • "QoL" updates to example pipeline YAML file

Bug Fixes

  • Fixes issues with FASTA file extensions in the Python scripts

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 self-assigned this Dec 19, 2025
val fileName = fastaPath.fileName.toString()
// Remove extension (including .gz if present)
val baseName = fileName
.replace(Regex("\\.(fa|fasta|fna)(\\.gz)?$"), "")
Copy link
Contributor

Choose a reason for hiding this comment

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

You might want to move the Regex out of the map{}. The compiler might fix this, but historically declaring a Regex on the fly is a pretty costly operation in Java.

Copy link
Member Author

Choose a reason for hiding this comment

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

Interesting. I did not know that! Fixed.

@btmonier btmonier merged commit 139fcfe into main Jan 5, 2026
1 check passed
@btmonier btmonier deleted the recombination-mods branch January 5, 2026 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants