Skip to content

feat: add compute_variation_ratios tool#10

Open
ameynert wants to merge 1 commit intoam_08_compute_haplotype_statisticsfrom
am_09_compute_variation_ratios
Open

feat: add compute_variation_ratios tool#10
ameynert wants to merge 1 commit intoam_08_compute_haplotype_statisticsfrom
am_09_compute_variation_ratios

Conversation

@ameynert
Copy link
Copy Markdown
Collaborator

Summary

  • Ports compute_variation_ratios.py from human-diversity-reference/scripts as a defopt-compatible toolkit tool
  • Counts per-sample non-reference variant sites above each of seven predefined gnomAD population frequency thresholds
  • Writes a sample-level Hail table with population labels and counts
  • Removes the debug pprint call present in the original

Test plan

  • uv run --directory divref poe check-all passes

🤖 Generated with Claude Code

@ameynert ameynert had a problem deploying to github-actions-snakemake-linting April 10, 2026 22:59 — with GitHub Actions Failure
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 10, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: b9e23941-4856-43d3-8b65-c930168f5727

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch am_09_compute_variation_ratios

Comment @coderabbitai help to get the list of available commands and usage tips.

@ameynert ameynert force-pushed the am_08_compute_haplotype_statistics branch from 746189f to 7012193 Compare April 10, 2026 23:17
Port compute_variation_ratios.py from human-diversity-reference/scripts as
a defopt-compatible toolkit tool. Counts per-sample non-reference variant
sites above each of seven predefined gnomAD population frequency thresholds
and writes a sample-level Hail table with population labels and counts.
Removes the debug pprint call present in the original.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@ameynert ameynert force-pushed the am_09_compute_variation_ratios branch from 0fe6bba to 2e3ca4f Compare April 10, 2026 23:17
@ameynert ameynert temporarily deployed to github-actions-snakemake-linting April 10, 2026 23:17 — with GitHub Actions Inactive
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