Skip to content

Take data-beans 0.7.2; positions never match gene pieces - #9

Merged
YPARK merged 1 commit into
mainfrom
alt-contig-genes
Oct 2, 2026
Merged

YPARK merged 1 commit into
mainfrom
alt-contig-genes

Conversation

@YPARK

@YPARK YPARK commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

What

  • Lock data-beans 0.7.2 and legume-genomic-types 0.5.3, which keep a position or locus gene part whole under the shared gene rule.
  • pileup --genes matching: a row whose gene part is a position or locus (a BAF row's chr:pos) now matches only as a whole. On an alt contig the name has underscores, and the per-piece check let a gene query match one of its pieces.

Testing

  • New test: an alt-contig BAF row's gene part matches none of its pieces and survives the gene rule unchanged. All tests pass; clippy is clean.

…gene pieces

A BAF row's first segment is a position (chr:pos). On an alt contig its
name has underscores, so a gene query matched one of its pieces; now a
position or locus matches only as a whole.
@YPARK
YPARK merged commit f7245e3 into main Oct 2, 2026
6 checks passed
@YPARK
YPARK deleted the alt-contig-genes branch October 2, 2026 01:58
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