Example datasets¶
The combined LAML oncoplot uses load_dataset("tcga_laml_combined_oncoplot");
the p53 sequence comparison loads aligned FASTA text with
load_dataset("p53_sequence_comparison", as_format="text"). Their
MIT-licensed sources and processing are described in the
combined oncoplot and
p53 comparison gallery pages.
The package ships the tables that the gallery examples use, so you can try the API on real data without downloading anything.
from genome_spy.datasets import available_datasets, load_dataset
available_datasets()
counts = load_dataset("airway_scaledcounts")
load_dataset() returns a pandas DataFrame for tabular files and parsed JSON
for JSON files. Pass as_format="text" to get the raw file contents instead.
Dataset |
Contents |
|---|---|
|
Sample table for the airway RNA-seq experiment |
|
Gene-level counts for the same eight samples |
|
Genome-wide association results with p-values and effect sizes |
|
Somatic mutation calls for TCGA breast tumors |
|
Prepared recurrent PIK3CA mutations and protein domains |
|
Somatic mutation calls for TCGA acute myeloid leukemia |
|
Clinical annotations for those leukemia samples |
|
Prepared mutation, copy-number, clinical, pathway, VAF, and MutSig tables |
|
34 p53 protein sequences aligned with MAFFT L-INS-i, compressed FASTA |
|
Alteration matrix for TCGA lung adenocarcinoma samples |
|
GISTIC2 copy-number scores for TCGA ovarian tumors |
|
GISTIC2 peak regions for the same cohort |
|
Assembly-wide hg19 and hg38 RefSeq gene bodies |
Data use and provenance
airway_metadataandairway_scaledcountsdescribe the airway smooth muscle RNA-seq experiment of Himes et al., PLoS One 2014 (GEO GSE52778), distributed through the Bioconductor airway package (LGPL).hapmap_gwasis theHapMapexample table from the manhattanly R package (MIT). Its genotypes come from NCBI HapMap phase III.brca_maf,tcga_laml_maf, andtcga_laml_annotationsare the example files bundled with maftools (MIT) and contain open-access TCGA mutation calls.pik3ca_tcga_brca_lollipopcontains the chart-ready named datasets from GenomeSpy’s official TCGA-BRCA PIK3CA lollipop example. Mutation counts come from GDC masked somatic MAFs and protein domains from UniProt P42336; see the gallery example for full provenance.pyoncoprint_tcgais the example alteration table from pyoncoprint (BSD 2-Clause).tcga_ov_gistic_scoresandtcga_ov_gistic_lesionsare the completescores.gisticandall_lesions.conf_99.txttables used by the official GenomeSpy example. They are open-access TCGA OV-TP GISTIC2 output produced by the Broad Institute TCGA Genome Data Analysis Center, Firehose run 2016-01-28 (source archive).refseq_gene_bodiesis independently prepared from the official hg19 and hg38 UCSCrefGenetables. Overlapping transcripts are collapsed by symbol, chromosome, and strand; transcript counts prioritize colliding labels. See UCSC’s conditions for use.
Results shown with the TCGA-derived tables are in whole or part based upon data generated by the TCGA Research Network.