Skip to content

[hail] include the diagonal in PCRelate - #9816

Merged
danking merged 2 commits into
hail-is:mainfrom
danking:pc-relate-fix
Dec 15, 2020
Merged

danking merged 2 commits into
hail-is:mainfrom
danking:pc-relate-fix

Conversation

@danking

@danking danking commented Dec 10, 2020

Copy link
Copy Markdown
Contributor

CHANGELOG: hl.pc_relate now includes values on the diagonal of kinship, IBD-0, IBD-1, and IBD-2

@tpoterba

Copy link
Copy Markdown
Contributor

how would this work with maximal_independent_set?

CHANGELOG: `hl.pc_relate` now includes values on the diagonal of kinship, IBD-0, IBD-1, and IBD-2
@danking

danking commented Dec 10, 2020

Copy link
Copy Markdown
Contributor Author

Ugh. I added a keyword parameter that defaults to the old behavior.

@tpoterba

Copy link
Copy Markdown
Contributor

Yeah, annoying. We should probably be boxing this up so that most users never actually use maximal_independent_set but just prune_related_samples(mt, ...) and we can do what we want in there.

@tpoterba

Copy link
Copy Markdown
Contributor

Hail is 1-2 levels of abstraction too low for most users

@danking

danking commented Dec 10, 2020

Copy link
Copy Markdown
Contributor Author

One of us should do one boring genetics project with someone and just publish whatever we write during that process.

@danking

danking commented Dec 15, 2020

Copy link
Copy Markdown
Contributor Author

bump @chrisvittal

@danking
danking merged commit 25e5e5b into hail-is:main Dec 15, 2020
@olavurmortensen

Copy link
Copy Markdown

Awesome, thanks guys!

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.

4 participants