|
Download README.md from cBioPortal/datahub: direct link, hf CLI and curl.
- Browser
- Download file 710 Bytes
-
https://huggingface.co/datasets/cBioPortal/datahub/resolve/main/README.md
- Command line
-
hf download hf://datasets/cBioPortal/datahub/README.md
-
curl -L -o README.md https://huggingface.co/datasets/cBioPortal/datahub/resolve/main/README.md
710 Bytes
| license: odbl | |
| **WARNING ⚠️: Accessing datahub data via hugging face is still under construction (use https://github.com/cbioPortal/datahub instead).** | |
| # cBioPortal Datahub | |
| 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). | |
| ## How to use | |
| Query all mutations of datahub directly in `duckdb`: | |
| ``` | |
| SELECT count(distinct (Chromosome, Start_Position, End_Position, Reference_Allele, Tumor_Seq_Allele1, Tumor_Seq_Allele2)) | |
| FROM read_parquet('hf://datasets/cBioPortal/datahub/data/combined_mutations.parquet') | |
| ``` |