Skip to content

feat(analysis): finemap Top-N table generator (Fig 5 of chorus-article)#98

Merged
lucapinello merged 1 commit into
mainfrom
fix/2026-06-18-finemap-figure-generator
Jun 18, 2026
Merged

feat(analysis): finemap Top-N table generator (Fig 5 of chorus-article)#98
lucapinello merged 1 commit into
mainfrom
fix/2026-06-18-finemap-figure-generator

Conversation

@lucapinello

Copy link
Copy Markdown
Contributor

Adds render_finemap_table + the finemap subcommand to scripts/regenerate_analysis_figures.py. It renders the Top-N causal-variant prioritisation table (Fig 5, fig_rs9504151_finemap.png) from a prioritize_causal_variants run, highlighting the lead variant rs9504151 (#1) and demoting the high-LD neighbour rs62384944.

Why: the chorus-article post's figures/README.md and reproduction steps already instruct readers to run regenerate_analysis_figures.py finemap, but the code behind it was never committed (only ism and tf_scan landed in #96). This closes that reproducibility gap so Fig 5 regenerates from the repo.

No behavior change to existing commands; purely additive.

🤖 Generated with Claude Code

…sis_figures

render_finemap_table + the `finemap` subcommand produce Fig 5
(fig_rs9504151_finemap.png) for the chorus-article post: a clean Top-N
causal-variant table from a prioritize_causal_variants run, highlighting the
lead (rs9504151, #1) and the high-LD neighbour rs62384944.

The article's figures/README.md and reproduce/ steps already reference
`regenerate_analysis_figures.py finemap`; this commits the code behind it so
Fig 5 is reproducible from the repo (ism/tf_scan were already committed in #96).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@lucapinello lucapinello merged commit 16d1fa6 into main Jun 18, 2026
1 check passed
@lucapinello lucapinello deleted the fix/2026-06-18-finemap-figure-generator branch June 18, 2026 08:57
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