-- DBMS: bigquery
CREATE TABLE `isb-cgc-bq.CPTAC.quant_proteome_AML_gilteritinib_timecourse_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="AML GILTERITINIB TIMECOURSE PROTEOME",
  description="Normalized log2ratio protein abundance estimates for the AML Gilteritinib TimeCourse -  Proteome study (PDC Study ID: PDC000316) 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_AML_gilteritinib_timecourse_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 ('4a4b2172-550c-4dbd-adad-8b3425f3ddea', '171a2f52-7874-4eaf-b6be-b990cf1cb030', '124d3094-5c2d-4ac2-b7a4-c4854c5d4a7b', 'PTRC_Ex8_P16', '71bba39d-a0e6-4362-8419-7025542d52cf', 'AML Gilteritinib TimeCourse -  Proteome', -0.7244, 'f7b24ee5-b814-11e8-907f-0a2705229b82', 'COX2', '4513', 'HGNC', '7421', 'cytochrome c oxidase subunit II', 'Homo sapiens', 'MT', '-', 'P00403', 'P00403', 'P00403;YP_003024029.1', NULL), ('4a4b2172-550c-4dbd-adad-8b3425f3ddea', '613d23c3-7e88-4bbd-85e4-1d66f9ca8669', 'cbdbc3e3-2d01-42d7-ab7d-8498dfa8e441', 'PTRC_Ex8_P21', '6aa48f58-d3e9-4c99-afee-10d8f2b56f0d', 'AML Gilteritinib TimeCourse -  Proteome', -0.0951, 'f7b24ee5-b814-11e8-907f-0a2705229b82', 'COX2', '4513', 'HGNC', '7421', 'cytochrome c oxidase subunit II', 'Homo sapiens', 'MT', '-', 'P00403', 'P00403', 'P00403;YP_003024029.1', NULL), ('4a4b2172-550c-4dbd-adad-8b3425f3ddea', '735f6777-e929-4c49-8d91-c8a45fdaf046', '78f18a05-d7ca-4395-829a-77dd1c7ab49c', 'PTRC_Ex8_P9', 'c52202e2-b3b6-4e89-a97f-2ffe73ac4254', 'AML Gilteritinib TimeCourse -  Proteome', -0.4113, 'f7b24ee5-b814-11e8-907f-0a2705229b82', 'COX2', '4513', 'HGNC', '7421', 'cytochrome c oxidase subunit II', 'Homo sapiens', 'MT', '-', 'P00403', 'P00403', 'P00403;YP_003024029.1', NULL), ('4a4b2172-550c-4dbd-adad-8b3425f3ddea', '1c1f661c-e8d8-44f0-971b-863c32c9ef59', '8c82153d-18d2-4865-a96a-148b99b1b6f8', 'PTRC_Ex8_P5', 'b17faa79-7854-4204-bb23-a21e0086d95e', 'AML Gilteritinib TimeCourse -  Proteome', -0.1513, 'f7b24ee5-b814-11e8-907f-0a2705229b82', 'COX2', '4513', 'HGNC', '7421', 'cytochrome c oxidase subunit II', 'Homo sapiens', 'MT', '-', 'P00403', 'P00403', 'P00403;YP_003024029.1', NULL), ('4a4b2172-550c-4dbd-adad-8b3425f3ddea', 'b74f9699-bc96-4a94-ba2a-e587848889e6', '62c64702-6cec-4a18-b925-f338ec5ca469', 'PTRC_Ex8_P27', '4bd9d20d-39bc-4950-8d6a-8ffee465d870', 'AML Gilteritinib TimeCourse -  Proteome', -0.2207, 'f7b24ee5-b814-11e8-907f-0a2705229b82', 'COX2', '4513', 'HGNC', '7421', 'cytochrome c oxidase subunit II', 'Homo sapiens', 'MT', '-', 'P00403', 'P00403', 'P00403;YP_003024029.1', NULL);