-- DBMS: bigquery
CREATE TABLE `isb-cgc-bq.CPTAC.quant_proteome_PTRC_TNBC_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 - PROTEOME",
  description="Normalized log2ratio protein abundance estimates for the PTRC TNBC - Proteome study (PDC Study ID: PDC000408) 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_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 ('1bc93e93-d026-4010-b808-26c5d6b76ba7', '2c90327f-6ced-46ef-afe7-95f67b7f5b35', '1436c5c6-650f-49aa-85b6-9f550593c873', 'NTN052_Baseline', 'ca7707f1-1962-4838-8381-eb1f848cb44a', 'PTRC TNBC - Proteome', 0.3274, 'f7b24ee5-b814-11e8-907f-0a2705229b82', 'COX2', '4513', 'HGNC', '7421', 'cytochrome c oxidase subunit II', 'Homo sapiens', 'MT', '-', 'P00403', 'P00403', 'P00403;YP_003024029.1', NULL), ('b8c57863-cf07-4f82-a425-4fdfb1883776', '5354b1ac-713a-4a43-8ba3-c5d4fee5fdc7', '556ae1ef-7a87-4e03-a8a5-632f4473e337', 'NTN006_Cycle1Day3', '81f4ff3b-2e0a-4118-8b4b-3618b6e550b8', 'PTRC TNBC - Proteome', 0.8117, 'f7b24ee5-b814-11e8-907f-0a2705229b82', 'COX2', '4513', 'HGNC', '7421', 'cytochrome c oxidase subunit II', 'Homo sapiens', 'MT', '-', 'P00403', 'P00403', 'P00403;YP_003024029.1', NULL), ('7ede448a-2bc6-4685-9db3-b43649777ea7', '8cb64a16-c4c2-4c85-992e-47a84036391a', '04f0af6a-1a56-4d0d-a688-123fdcc8e5d7', 'NTN050_Baseline', 'bc3a45e6-61e3-406e-a2b8-8f170c9d452f', 'PTRC TNBC - Proteome', -0.1389, 'f7b24ee5-b814-11e8-907f-0a2705229b82', 'COX2', '4513', 'HGNC', '7421', 'cytochrome c oxidase subunit II', 'Homo sapiens', 'MT', '-', 'P00403', 'P00403', 'P00403;YP_003024029.1', NULL), ('5e3a7a9b-219e-46aa-916f-4b1b9c2a2cf5', '7e29ea42-c9de-4296-a4db-c67f8ae72b7d', '32a80714-3095-47b9-89be-d5cdd941d5b6', 'NTN012_Cycle1Day3', '104da378-c437-45c4-ba38-767930771f77', 'PTRC TNBC - Proteome', -0.3274, 'f7b24ee5-b814-11e8-907f-0a2705229b82', 'COX2', '4513', 'HGNC', '7421', 'cytochrome c oxidase subunit II', 'Homo sapiens', 'MT', '-', 'P00403', 'P00403', 'P00403;YP_003024029.1', NULL), ('5bc65c89-e0fd-4de5-865f-591de7e93379', 'd77d038b-101f-45d5-896e-5e0b384ea71b', '7795a368-a191-4a6b-913f-929c4c2fb885', 'NTN040_Baseline', '589daea4-e225-433b-b6f0-35daa8986601', 'PTRC TNBC - Proteome', -0.8836, 'f7b24ee5-b814-11e8-907f-0a2705229b82', 'COX2', '4513', 'HGNC', '7421', 'cytochrome c oxidase subunit II', 'Homo sapiens', 'MT', '-', 'P00403', 'P00403', 'P00403;YP_003024029.1', NULL);