Skip to content

Commit

Permalink
feat: add appris data (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
ovesh authored Feb 26, 2025
1 parent 37291ab commit 6914b05
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion conda-recipe/conda_build_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ c_stdlib:
- sysroot # [linux]
- macosx_deployment_target # [osx]
c_stdlib_version:
- '2.12' # [linux]
- '2.17' # [linux]
- '11.0' # [osx]
python:
- '3.9'
Expand Down
4 changes: 2 additions & 2 deletions genome_kit/_build_appris.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@
# hg38
REMOTE_FILES.update(("gencode.v{version}{lift}{basic}".format(version=version, lift=lift, basic=basic),
PATH_FMT.format(species="homo_sapiens", data_version=data_version))
for version, data_version in [(29, "e94v28"), (41, "e103v45")]
for version, data_version in [(25, "e87v22"), (26, "e88v22"), (27, "e91v27"), (29, "e94v28"), (41, "e103v45")]
for lift in ["", "lift37"] for basic in ["", ".basic"])
# mouse
REMOTE_FILES.update(("gencode.vM{version}{basic}".format(version=version, basic=basic),
PATH_FMT.format(species="mus_musculus", data_version=data_version))
for version, data_version in [(19, "e94v28"), (30, "e107v47")] for basic in ["", ".basic"])
for version, data_version in [(15, "e88v22"), (19, "e94v28"), (30, "e107v47")] for basic in ["", ".basic"])
# ncbi refseq
REMOTE_FILES.update(("ncbi_refseq.{version}".format(version=version),
PATH_FMT.format(species="homo_sapiens", data_version=data_version))
Expand Down
2 changes: 2 additions & 0 deletions genome_kit/_gk_data_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ def get_appris_version(annotation):
return "2022_07.v47"
elif any(x in annotation for x in ["ncbi_refseq.v110"]):
return "2023_08.v48"
elif any(x in annotation for x in ["gencode.v27"]):
return "2018_02.v27"
return "2017_06.v23"


Expand Down

0 comments on commit 6914b05

Please sign in to comment.