Specification

Data formats

Every cohort is processed the same way and published as the files below, under cohorts/<cohort-id>/. A machine-readable catalog lives at catalog.json, and each cohort’s metadata.json lists its files, layers, signature methods and clinical variables. In production the same layout is served from an S3 bucket.

Per-patient signatures (GMT)

<layer>_<method>_max<N>.gmt — transcriptome_{limma-voom,deseq2,cd}, proteome_zscore, phosphoproteome_zscore

One gene set per line: term, an empty description, then gene symbols, all tab-separated. Terms are PATIENT::<label>::<direction>-<feature>. Transcriptome and proteome files hold an up- and a down-regulated set per patient (up to N genes each) for every signature method; phosphoproteome files hold one set of genes with modified phosphosites per patient. GMT files load directly into Enrichr, Perturb-Seqr, GSEA and most enrichment tools.

C3L-00967::melanoma::upregulated-gene		SNED1	HIPK3	AFDN	IGF2R	…
C3L-00967::melanoma::modified-phosphorylated_site		GPS1	TFE3	DST	…

Knowledge-graph assertions

<layer>_assertions_<method>_max<N>.csv

Subject–predicate–object triples with typed nodes, one file per layer and method: Patient → upregulated_gene / downregulated_gene / upregulated_protein / downregulated_protein → Gene, Patient → modified → phosphorylated_site, and Gene → site → phosphorylated_site. The table maps directly onto Neo4j and other graph imports.

source,source_type,source_label,relation,target,target_type,target_label,cohort
C3L-06217,Patient,C3L-06217,upregulated_protein,GNLY,Gene,GNLY,melanoma
A2M,Gene,A2M,site,A2M_Y708,phosphorylated_site,A2M_Y708,

Attribute tables

gene-attribute.tsv (transcriptomics; other layers as <layer>_gene-attribute.tsv)

Genes in rows and samples in columns. Each value is the gene’s expression level z-scored across genes within that sample. The site computes subtype and UMAP-selection signatures from these tables on the fly.

harmonized_symbol	C3L-00967	C3L-01063	…
TTN	2.084	1.806	…
COL3A1	21.738	28.979	…

Clinical tables

clinical.csv

One row per patient, keyed by sampleName, with clinical metadata and molecular annotations: demographics, stage, survival and treatment, subtype calls, somatic mutations (<GENE>_somatic_type and <GENE>_somatic_binary), copy number (<GENE>_cnv, chromosome arms), deconvolution estimates and scores. NA marks missing values. Mutation views on the site are derived from the somatic columns.

sampleName,age,sex,tumor_stage_pathological,…,BRAF_somatic_type,BRAF_somatic_binary,…,TCGA_subtype_v2
C3L-00967,69,Female,Stage IIIB,…,NA,WT,…,RAS_hotspot

UMAP embeddings

<layer>[_<method>]_max<N>_umap.csv

A two-dimensional embedding of the per-patient signatures, with one point for each patient’s up set and one for the down set, a cluster label and the genes of each set. Transcriptomes have one embedding per DGE method. Cohort pages render it interactively, one direction and one method at a time (limma-voom by default).

x,y,cluster,direction,sample_id,term,genes,TCGA_subtype_v2
7.031,-3.823,Cluster 0,down,C3L-00967,C3L-00967::melanoma::downregulated-gene,GTF2IRD2 E2F5 …,RAS_hotspot

Cohort description and metadata

cohort.json, metadata.json, ../../catalog.json

cohort.json is written with each deposit (title, program, cancer type, citation, source and optional settings such as the subtype column and featured clinical variables). metadata.json and catalog.json are generated from the deposited files by npm run data:index.

{ "title": "…", "shortTitle": "CPTAC-MEL", "program": "CPTAC", "cancerType": "skcm", "subtypeColumn": "TCGA_subtype_v2", … }