-- DBMS: bigquery
CREATE TABLE `isb-cgc-bq.CPTAC.quant_proteome_PTRC_HGSOC_FFPE_discovery_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 HGSOC FFPE DISCOVERY – PROTEOME",
  description="Normalized log2ratio protein abundance estimates for the PTRC HGSOC FFPE Discovery - Proteome study (PDC Study ID: PDC000360) was extracted using PDC API V3.4 in August 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", "v3_4")]
);

INSERT INTO `isb-cgc-bq.CPTAC.quant_proteome_PTRC_HGSOC_FFPE_discovery_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 ('1f121037-782c-46b5-a26c-2e2063e0e204', 'df180ee7-be03-446d-9c2a-4062bb00ccb7', '1efa6f14-38c4-4d8e-b49c-4116880ddfaa', '218201', '526a2554-69c2-45c6-8b14-e4dbfc158c92', 'PTRC HGSOC FFPE Discovery - Proteome', -0.223, 'f7b24ee5-b814-11e8-907f-0a2705229b82', 'COX2', '4513', 'HGNC', '7421', 'cytochrome c oxidase subunit II', 'Homo sapiens', 'MT', '-', 'P00403', 'P00403', 'P00403;YP_003024029.1', NULL), ('f91df0ed-73ba-402f-8ca6-18aaaf557625', '574b0e70-d27e-447c-8a86-701b488d2e30', 'b9e9bdf2-03d3-485c-bd9d-d3d0a2e8b702', '474534;474536', 'a0499cbd-89bb-4b65-9438-6b8b3cf20432', 'PTRC HGSOC FFPE Discovery - Proteome', -0.7588, 'f7b24ee5-b814-11e8-907f-0a2705229b82', 'COX2', '4513', 'HGNC', '7421', 'cytochrome c oxidase subunit II', 'Homo sapiens', 'MT', '-', 'P00403', 'P00403', 'P00403;YP_003024029.1', NULL), ('731c9266-b4c1-4fe2-8492-444b0c10a51c', '33304b7a-4b07-4b75-94c6-8e58ce226543', 'bca9f42b-a9af-4a1b-8fdf-e12b643acc66', 'S-07-0032072_A8', '162a5b35-bc11-4f1f-88f1-852fd4c7ea0d', 'PTRC HGSOC FFPE Discovery - Proteome', -0.1631, 'f7b24ee5-b814-11e8-907f-0a2705229b82', 'COX2', '4513', 'HGNC', '7421', 'cytochrome c oxidase subunit II', 'Homo sapiens', 'MT', '-', 'P00403', 'P00403', 'P00403;YP_003024029.1', NULL), ('e156560e-76b6-4eeb-ad0c-ead6b310b76f', '2450a5c2-0ebf-4dba-875f-86657c33c019', 'ab766b1b-6c53-4c07-82e2-eee7e3a8c11b', '500869', '8cf76d41-4169-4da2-970e-28c2dc17b304', 'PTRC HGSOC FFPE Discovery - Proteome', 0.3677, 'f7b24ee5-b814-11e8-907f-0a2705229b82', 'COX2', '4513', 'HGNC', '7421', 'cytochrome c oxidase subunit II', 'Homo sapiens', 'MT', '-', 'P00403', 'P00403', 'P00403;YP_003024029.1', NULL), ('6dc777d4-4a5b-4387-9ed2-0d2fa9f4ff72', '16d7cf28-d501-4845-af50-581879c46b79', '47b273c2-d4a5-4cf6-8ed8-551cd6c5fe0c', 'Frozen-bridge', 'b4afe4c3-40ac-49e6-ac70-02034a547d6d', 'PTRC HGSOC FFPE Discovery - Proteome', -0.96, 'f7b24ee5-b814-11e8-907f-0a2705229b82', 'COX2', '4513', 'HGNC', '7421', 'cytochrome c oxidase subunit II', 'Homo sapiens', 'MT', '-', 'P00403', 'P00403', 'P00403;YP_003024029.1', NULL);