-
Notifications
You must be signed in to change notification settings - Fork 31
Add browser tables to resources #750
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few small things
gnomad/resources/grch38/gnomad.py
Outdated
| :return: Path to browser gene Table. | ||
| """ | ||
| return "gs://gnomad-public-requester-pays/resources/grch38/browser/gnomad.genes.GRCh38.GENCODEv39.ht" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change if we rename for the repartition
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added the note here for the current 50 partitions, they haven't been synced yet, we were discussing if 50 is the best now that they have pext data in it. I don't know if it's worth exploring an optimal number of partitions, since we don't use this table for now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, I will change this to 100, I found it was faster than 50 with pext data in it, preliminarily.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
two tiny docstring format
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, let's make the browser_variant function a versioned resource like we usually do
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
This is to add browser variant and gene tables in gnomad resources. For gene tables, they ran multiple steps of transformation to get the intervals for CDS, UTR and exon.