inodb commited on
Commit
6e9ae27
·
verified ·
1 Parent(s): 84cc672

add example

Browse files
Files changed (1) hide show
  1. README.md +10 -1
README.md CHANGED
@@ -6,4 +6,13 @@ license: odbl
6
 
7
  # cBioPortal Datahub
8
 
9
- These are parquet files generated from https://github.com/cBioPortal/datahub. It combines all studies' sample, patient, and mutation data into parquet files. They were generated using [cbiohubpy](https://github.com/cBioPortal/cbiohubpy).
 
 
 
 
 
 
 
 
 
 
6
 
7
  # cBioPortal Datahub
8
 
9
+ These are parquet files generated from https://github.com/cBioPortal/datahub. It combines all studies' sample, patient, and mutation data into parquet files. They were generated using [cbiohubpy](https://github.com/cBioPortal/cbiohubpy).
10
+
11
+ ## How to use
12
+
13
+ You can e.g. query the mutations directly like so in `duckdb`:
14
+
15
+ ```
16
+ SELECT count(distinct (Chromosome, Start_Position, End_Position, Reference_Allele, Tumor_Seq_Allele1, Tumor_Seq_Allele2))
17
+ FROM read_parquet('hf://datasets/cBioPortal/datahub/data/combined_mutations.parquet')
18
+ ```