Skip to content

Complex traits#11

Merged
gonzalobenegas merged 12 commits intorevisionfrom
complex-traits
Feb 1, 2026
Merged

Complex traits#11
gonzalobenegas merged 12 commits intorevisionfrom
complex-traits

Conversation

@gonzalobenegas
Copy link
Copy Markdown
Collaborator

  • Refactors complex traits dataset using latest UKBB finemapping data

gonzalobenegas and others added 12 commits January 30, 2026 16:49
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Drop null pip variants at download, inner join methods, and average
pips when they agree within 5%.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Average PIPs when both methods agree, use single method when only one
available, exclude when they disagree by >5%.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add download_all_finemapping target rule for batch downloads
- Add aggregate_traits rule to combine all trait-level results
- Compute max PIP across traits and list high-PIP traits
- Label positives (PIP > 0.9) and negatives (PIP < 0.01, no nulls)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add build_dataset() function to traitgym.intervals for shared logic
- Refactor mendelian_traits_dataset_all and complex_traits_dataset_all rules
- Add complex_traits_annotate and complex_traits_full_consequence_counts rules
- Add check_ref_alt function to traitgym.variants
- Mark slow tests with @pytest.mark.slow (skipped by default)
- Fix CHROMS test to expect lexicographic ordering

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Drop ~34 high-PIP variants with very low MAF not present in LD score
file during annotation. Add null validation for all matching features
in match_features() to catch similar issues early.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Change pull-requests permission back to read to pass workflow
validation in the Claude Code Review action.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@claude
Copy link
Copy Markdown

claude Bot commented Feb 1, 2026

No issues found. Checked for bugs and CLAUDE.md compliance.

@gonzalobenegas gonzalobenegas merged commit b8dbbb2 into revision Feb 1, 2026
1 check passed
@gonzalobenegas gonzalobenegas deleted the complex-traits branch February 1, 2026 03:23
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