Skip to content

feat: add extract_gnomad_afs tool#7

Open
ameynert wants to merge 1 commit intoam_05_create_gnomad_sites_vcffrom
am_06_extract_gnomad_afs
Open

feat: add extract_gnomad_afs tool#7
ameynert wants to merge 1 commit intoam_05_create_gnomad_sites_vcffrom
am_06_extract_gnomad_afs

Conversation

@ameynert
Copy link
Copy Markdown
Collaborator

Summary

  • Ports extract_gnomad_afs.py from human-diversity-reference/scripts as a defopt-compatible toolkit tool
  • Extracts per-population allele frequencies from the gnomAD v3.1.2 HGDP/1KG subset
  • Writes compact variant annotation and sample metadata Hail tables for use by downstream pipeline tools
  • The three previously hard-coded GCS paths and the population list are now overridable parameters, with the originals as defaults

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:58 — 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: 988c3584-d7c7-4062-a1fb-66592190bff4

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_06_extract_gnomad_afs

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

@ameynert ameynert force-pushed the am_05_create_gnomad_sites_vcf branch from 7c7eaed to af1052d Compare April 10, 2026 23:17
Port extract_gnomad_afs.py from human-diversity-reference/scripts as a
defopt-compatible toolkit tool. Extracts per-population allele frequencies
from the gnomAD v3.1.2 HGDP/1KG subset and writes compact variant annotation
and sample metadata Hail tables for use by downstream pipeline tools. The
three previously hard-coded GCS paths and population list are now
overridable parameters with the originals as defaults.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@ameynert ameynert force-pushed the am_06_extract_gnomad_afs branch from 616578d to c41aafa 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