Skip to content

Conversation

@KoalaQin
Copy link
Contributor

@KoalaQin KoalaQin commented Jan 6, 2025

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.

@KoalaQin KoalaQin self-assigned this Jan 6, 2025
@jkgoodrich jkgoodrich self-requested a review January 10, 2025 17:41
@jkgoodrich jkgoodrich self-assigned this Jan 10, 2025
Copy link
Contributor

@jkgoodrich jkgoodrich left a 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

:return: Path to browser gene Table.
"""
return "gs://gnomad-public-requester-pays/resources/grch38/browser/gnomad.genes.GRCh38.GENCODEv39.ht"
Copy link
Contributor

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

Copy link
Contributor Author

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.

Copy link
Contributor Author

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.

@KoalaQin KoalaQin requested a review from jkgoodrich January 14, 2025 14:56
Copy link
Contributor

@jkgoodrich jkgoodrich left a 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

@KoalaQin KoalaQin requested a review from jkgoodrich January 14, 2025 15:43
Copy link
Contributor

@jkgoodrich jkgoodrich left a 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

@KoalaQin KoalaQin requested a review from jkgoodrich January 14, 2025 16:03
Copy link
Contributor

@jkgoodrich jkgoodrich left a comment

Choose a reason for hiding this comment

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

LGTM!

@KoalaQin KoalaQin merged commit ae7730e into main Jan 14, 2025
5 checks passed
@KoalaQin KoalaQin deleted the qh/browser_tables branch February 10, 2025 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants