Skip to content

Commit

Permalink
Add gecode version globals
Browse files Browse the repository at this point in the history
  • Loading branch information
jkgoodrich committed Jan 10, 2025
1 parent 74721cf commit 2f08fc3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions gnomad/resources/grch37/gnomad.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@
CURRENT_EXOME_COVERAGE_RELEASE = "2.1"
CURRENT_GENOME_COVERAGE_RELEASE = "2.1"

GENCODE_VERSION_BY_RELEASE = {
"2.1": "v19",
"2.1.1": "v19",
}

SUBPOPS = {
"NFE": ["BGR", "EST", "NWE", "SEU", "SWE", "ONF"],
"EAS": ["KOR", "JPN", "OEA"],
Expand Down
7 changes: 7 additions & 0 deletions gnomad/resources/grch38/gnomad.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@
EXOME_AN_RELEASES = ["4.1"]
GENOME_AN_RELEASES = ["4.1"]

GENCODE_VERSION_BY_RELEASE = {
"3.0": "v29",
"3.1": "v35",
"4.0": "v39",
"4.1": "v39",
}

DATA_TYPES = ["exomes", "genomes", "joint"]
MAJOR_RELEASES = ["v3", "v4"]
CURRENT_MAJOR_RELEASE = MAJOR_RELEASES[-1]
Expand Down

1 comment on commit 2f08fc3

@KoalaQin
Copy link
Contributor

@KoalaQin KoalaQin commented on 2f08fc3 Jan 10, 2025

Choose a reason for hiding this comment

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

Do we have gencode HTs for 3.0 and 3.1? Even browser only supports v19 and v39.

Please sign in to comment.