Skip to content

Conversation

@ch-kr
Copy link
Contributor

@ch-kr ch-kr commented Feb 1, 2021

from https://github.com/macarthur-lab/gnomad_lof/blob/master/constraint/gene_lof_matrix.py#L83. Also added helper functions, but should I move them to another location?

@ch-kr ch-kr requested a review from jkgoodrich February 1, 2021 19:32
@ch-kr ch-kr requested a review from konradjk February 2, 2021 14:20
defined_sites=hl.agg.count_where(hl.is_defined(mt.GT)),
)
.result()
)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great! There's a computation of p that I presume is coming in another PR?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yup! I think you calculated p here https://github.com/macarthur-lab/gnomad_lof/blob/master/constraint/gene_lof_matrix.py#L137. I wasn't sure if I should include that function in this PR

@ch-kr ch-kr requested a review from konradjk February 2, 2021 17:14
@ch-kr ch-kr merged commit 34eae01 into master Feb 2, 2021
@ch-kr ch-kr deleted the gene_matrix branch February 2, 2021 18:25
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.

3 participants