Skip to content

Try to fix gcms alignment processing bugs#708

Merged
htsugawa merged 1 commit intomasterfrom
try_dereplications_for_putativeannotations
Feb 18, 2026
Merged

Try to fix gcms alignment processing bugs#708
htsugawa merged 1 commit intomasterfrom
try_dereplications_for_putativeannotations

Conversation

@htsugawa
Copy link
Contributor

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adjusts GC-MS alignment logic to use the correct retention-index (RI) tolerance during EI-MS scan comparisons, and tweaks spot-cleaning behavior to treat “Putative” identifications differently during refinement.

Changes:

  • Fix EI-MS scan comparison calls to use RetentionIndexAlignmentTolerance (instead of reusing RT tolerance) for RI matching/scoring.
  • Update GC-MS alignment refinement to exclude reference-matched spots whose names start with "Putative" from the initial “clean” set and reprocess them in the deduplication pass.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/MSDIAL5/MsdialGcMsApi/Algorithm/Alignment/GcmsPeakJoiner.cs Corrects RI tolerance passed into EI-MS scan comparison so RI-based alignment uses the intended tolerance.
src/MSDIAL5/MsdialGcMsApi/Algorithm/Alignment/GcmsAlignmentRefiner.cs Changes cleaned-spot selection/deduping rules to handle "Putative"-prefixed names specially.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@htsugawa htsugawa merged commit 84f8894 into master Feb 18, 2026
14 of 15 checks passed
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.

1 participant

Comments