Skip to content

Commit

Permalink
Fix canonicalallele catvar id in notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
theferrit32 committed Jul 15, 2024
1 parent d1195b3 commit 858b8dd
Showing 1 changed file with 34 additions and 5 deletions.
39 changes: 34 additions & 5 deletions notebooks/ASHG-clinvar-GKS-python.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,36 @@
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [],
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"2024-07-15 12:28:21 - gcs - INFO - Downloading gs://clinvar-gk-pilot/2024-04-07/dev/combined-catvar_output.ndjson.gz to buckets/clinvar-gk-pilot/2024-04-07/dev/combined-catvar_output.ndjson.gz\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"Downloading gs://clinvar-gk-pilot/2024-04-07/dev/combined-catvar_output.ndjson.gz to buckets/clinvar-gk-pilot/2024-04-07/dev/combined-catvar_output.ndjson.gz\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"2024-07-15 12:30:27 - gcs - INFO - Downloading gs://clinvar-gk-pilot/2024-04-07/dev/combined-scv_output.ndjson.gz to buckets/clinvar-gk-pilot/2024-04-07/dev/combined-scv_output.ndjson.gz\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"Downloading gs://clinvar-gk-pilot/2024-04-07/dev/combined-scv_output.ndjson.gz to buckets/clinvar-gk-pilot/2024-04-07/dev/combined-scv_output.ndjson.gz\n"
]
}
],
"source": [
"from clinvar_gk_pilot.gcs import (\n",
" _local_file_path_for,\n",
Expand Down Expand Up @@ -96,7 +125,7 @@
"################################\n",
"# A CanonicalAllele\n",
"## For searching based on the GKS Categorical Variation (CatVrs) ID\n",
"clinvar_id_canonicalallele = \"563765\"\n",
"clinvar_id_canonicalallele = \"2769522\"\n",
"catvar_id_canonicalallele = f\"clinvar:{clinvar_id_canonicalallele}\"\n",
"## For searching based on the GA4GH VRS Variation ID\n",
"vrs_id_canonicalallele = \"ga4gh:VA.hf_va4AnlG99NuOjtaXJzh_XvszWWOO9\"\n",
Expand Down Expand Up @@ -254,9 +283,9 @@
"name": "stdout",
"output_type": "stream",
"text": [
"SCV: SCV000810762.1 \n",
" Classification: Pathogenic\n",
" Condition: not provided\n",
"SCV: SCV004334569.1 \n",
" Classification: Likely benign\n",
" Condition: BAP1-related tumor predisposition syndrome\n",
"\n"
]
}
Expand Down

0 comments on commit 858b8dd

Please sign in to comment.