-- DBMS: bigquery
CREATE TABLE `isb-cgc-bq.CPTAC.quant_proteome_PTRC_TNBC_PDX_pdc_current`
(
  case_id STRING OPTIONS(description="Unique identifier associated with a specific patient (e.g. 24cb0fcb-63d6-11e8-bcf1-0a2705229b82)"),
  sample_id STRING OPTIONS(description="Unique PDC identifier for this sample (e.g. e8d83eb9-693a-11ea-b1fd-0aad30af8a83)"),
  aliquot_id STRING OPTIONS(description="Unique PDC identifier for this aliquot (e.g. e8db124a-693a-11ea-b1fd-0aad30af8a83)"),
  aliquot_submitter_id STRING OPTIONS(description="Aliquot submitter id assigned by program (e.g. T14)"),
  aliquot_run_metadata_id STRING OPTIONS(description="Uniquely identifies the aliquot by how it was used in the experiment (based on the labelling reagent and/or biological replicate)"),
  study_name STRING OPTIONS(description="Name of the study (e.g. Pediatric Brain Cancer Pilot Study - Phosphoproteome)"),
  protein_abundance_log2ratio FLOAT64 OPTIONS(description="Average log-ratio of sample reporter-ion to common reference of peptide ions associated with the gene in acquisitions from a specific biological sample"),
  gene_id STRING OPTIONS(description="Unique gene identifier assigned by PDC"),
  gene_symbol STRING OPTIONS(description="Gene symbol, sourced by PDC from NCBI"),
  NCBI_gene_id STRING OPTIONS(description="NCBI gene identifier"),
  authority STRING OPTIONS(description="Designating authority for the gene id"),
  authority_gene_id STRING OPTIONS(description="Unique identifier assigned by authority (e.g. HGNC)"),
  gene_description STRING OPTIONS(description="Description of the gene, sourced by PDC from NCBI"),
  organism STRING OPTIONS(description="Gene organism, sourced by PDC from NCBI"),
  chromosome STRING OPTIONS(description="NCBI gene chromosome"),
  locus STRING OPTIONS(description="Gene cytoband, sourced by PDC from NCBI"),
  uniprotkb_id STRING OPTIONS(description="Oldest UniProt id found in 'proteins' column list, derived programmatically"),
  uniprotkb_ids STRING OPTIONS(description="Every UniProt id found in 'proteins' column list"),
  proteins STRING OPTIONS(description="Semi-colon separated list of protein accessions associated with the gene; includes identifiers from multiple sources (e.g. UniProt, NCBI RefSeq database)"),
  assays STRING OPTIONS(description="CPTAC Assay accessions for the peptides associated with the gene")
)
OPTIONS(
  friendly_name="PTRC TNBC - PHOSPHOPROTEOME",
  description="Normalized log2ratio protein abundance estimates for the PTRC TNBC PDX - Proteome study (PDC Study ID: PDC000410) was extracted using PDC API V2.16 in February 2023. These data are part of the CPTAC project. More information on the pipeline and the results generated by it can be found here: https://pdc.cancer.gov/data-dictionary/harmonization.html",
  labels=[("access", "open"), ("data_type", "protein_expression"), ("source", "pdc"), ("program", "cptac3"), ("category", "processed_-omics_data"), ("status", "current"), ("version", "v2_16")]
);

INSERT INTO `isb-cgc-bq.CPTAC.quant_proteome_PTRC_TNBC_PDX_pdc_current` (case_id, sample_id, aliquot_id, aliquot_submitter_id, aliquot_run_metadata_id, study_name, protein_abundance_log2ratio, gene_id, gene_symbol, NCBI_gene_id, authority, authority_gene_id, gene_description, organism, chromosome, locus, uniprotkb_id, uniprotkb_ids, proteins, assays) VALUES ('6cea33b1-3543-4a57-942d-e94f76c0c705', '3edcaec7-359e-40c4-84c4-711e6079cd7e', '353a06da-ef10-4598-af49-43814857fe09', 'HCI030', 'b5cb0cda-73c0-4498-b6f0-16cf8bda968d', 'PTRC TNBC PDX - Proteome', -0.0825, '33626130-6530-3762-2d33-6133622d3131', 'H2-L', '14980', NULL, NULL, 'histocompatibility 2, D region locus L', 'Mus musculus', '17', '-', 'P01897', 'P01897', 'NP_001254737.1;P01897', NULL), ('7eb3e9c7-a440-4e0f-bc6a-d77a0052ffee', 'd1b66c2f-c55a-4d0f-89d2-4699cac456fc', 'ae6b860e-d7f6-44a8-b47b-2dfea31999db', 'WHIM14', '7bb538dc-72cf-49ec-8b18-d26a768309f4', 'PTRC TNBC PDX - Proteome', -0.0256, '33626130-6530-3762-2d33-6133622d3131', 'H2-L', '14980', NULL, NULL, 'histocompatibility 2, D region locus L', 'Mus musculus', '17', '-', 'P01897', 'P01897', 'NP_001254737.1;P01897', NULL), ('1fdbbc88-2258-4ec9-b7d8-f5fe633e990a', 'd4ca1a1e-bfa0-440c-821c-17610417edb6', 'ab97665e-1847-409c-bcb9-71e507c8901c', 'WHIM12', '6776b638-c6f6-4764-b1a5-38273bc2590d', 'PTRC TNBC PDX - Proteome', 0.3003, '33626130-6530-3762-2d33-6133622d3131', 'H2-L', '14980', NULL, NULL, 'histocompatibility 2, D region locus L', 'Mus musculus', '17', '-', 'P01897', 'P01897', 'NP_001254737.1;P01897', NULL), ('21ac97b6-c265-410a-b98e-31735d669ab4', 'bcfaccce-031e-41e0-a3d4-20d1b3cd88f1', '9dafda75-9366-4b2e-90b1-9c7d65a7bb8e', 'WHIM68', '8a4e369a-a719-489a-8c37-a9a4cbac00f6', 'PTRC TNBC PDX - Proteome', -0.0929, '33626130-6530-3762-2d33-6133622d3131', 'H2-L', '14980', NULL, NULL, 'histocompatibility 2, D region locus L', 'Mus musculus', '17', '-', 'P01897', 'P01897', 'NP_001254737.1;P01897', NULL), ('ed8b6ab4-a0b4-4341-88f5-375d0e221a59', '42370fda-92a9-4a88-af66-b74aafab3177', '81a8161f-9f3e-4b20-9775-706c0d5dd3e5', 'HCI009', 'd6a85c6e-eb44-4ed9-bd78-661a3c4d88ed', 'PTRC TNBC PDX - Proteome', -0.0098, '33626130-6530-3762-2d33-6133622d3131', 'H2-L', '14980', NULL, NULL, 'histocompatibility 2, D region locus L', 'Mus musculus', '17', '-', 'P01897', 'P01897', 'NP_001254737.1;P01897', NULL);