-- DBMS: bigquery
CREATE TABLE `isb-cgc-bq.CPTAC.quant_proteome_prospective_colon_PNNL_qeplus_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="CPTAC2-CONFIRMATORY PROSPECTIVE COLON PNNL PROTEOME QEPLUS",
  description="Normalized log2ratio protein abundance estimates for the Prospective Colon PNNL Proteome Qeplus study (PDC Study ID: PDC000116) was extracted using PDC API V2.10 in August 2022. 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", "cptac2"), ("category", "processed_-omics_data"), ("status", "current"), ("version", "v2_10")]
);

INSERT INTO `isb-cgc-bq.CPTAC.quant_proteome_prospective_colon_PNNL_qeplus_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 ('24cb0fcb-63d6-11e8-bcf1-0a2705229b82', '986bfc0f-641b-11e8-bcf1-0a2705229b82', '2f10cebf-642a-11e8-bcf1-0a2705229b82', 'd8805fa4-30f9-4417-907e-fdc50c_D2', '0619f5e0-5736-11e8-b664-00a098d917f8', 'Prospective Colon PNNL Proteome Qeplus', -0.4967, 'f8f1c401-b814-11e8-907f-0a2705229b82', 'LOC105369247', '105369247', NULL, NULL, 'leukosialin', 'Homo sapiens', '16', '-', NULL, NULL, 'XP_016855093.1;XP_016855094.1;XP_016855095.1;XP_016855096.1;XP_016855097.1', NULL), ('0f9261c8-63d6-11e8-bcf1-0a2705229b82', '5901cc76-641b-11e8-bcf1-0a2705229b82', '342842a5-642a-11e8-bcf1-0a2705229b82', 'df479b07-bbf6-472d-a580-c3fd0c_D2', '6e0f90e6-5737-11e8-b664-00a098d917f8', 'Prospective Colon PNNL Proteome Qeplus', -0.3002, 'f8f1c401-b814-11e8-907f-0a2705229b82', 'LOC105369247', '105369247', NULL, NULL, 'leukosialin', 'Homo sapiens', '16', '-', NULL, NULL, 'XP_016855093.1;XP_016855094.1;XP_016855095.1;XP_016855096.1;XP_016855097.1', NULL), ('b2dc3f43-63d6-11e8-bcf1-0a2705229b82', 'eaa2553e-641c-11e8-bcf1-0a2705229b82', '19799c88-6423-11e8-bcf1-0a2705229b82', '0c330883-ab58-4a5a-bff7-07d283_D2', 'f99a1cf8-5736-11e8-b664-00a098d917f8', 'Prospective Colon PNNL Proteome Qeplus', -0.4576, 'f8f1c401-b814-11e8-907f-0a2705229b82', 'LOC105369247', '105369247', NULL, NULL, 'leukosialin', 'Homo sapiens', '16', '-', NULL, NULL, 'XP_016855093.1;XP_016855094.1;XP_016855095.1;XP_016855096.1;XP_016855097.1', NULL), ('a5d790a6-63d6-11e8-bcf1-0a2705229b82', 'c9b7d7b8-641c-11e8-bcf1-0a2705229b82', '42639ae9-642a-11e8-bcf1-0a2705229b82', 'f4bccfe4-98d0-466b-a6d7-44341b_D3', '2c12ff29-5735-11e8-b664-00a098d917f8', 'Prospective Colon PNNL Proteome Qeplus', -0.7923, 'f8f1c401-b814-11e8-907f-0a2705229b82', 'LOC105369247', '105369247', NULL, NULL, 'leukosialin', 'Homo sapiens', '16', '-', NULL, NULL, 'XP_016855093.1;XP_016855094.1;XP_016855095.1;XP_016855096.1;XP_016855097.1', NULL), ('d903920d-63d6-11e8-bcf1-0a2705229b82', 'f383ba08-6420-11e8-bcf1-0a2705229b82', '70a46cf8-6429-11e8-bcf1-0a2705229b82', '4bb08fad-fa5e-471e-978b-6b09ab_D2', '6f60a98f-5737-11e8-b664-00a098d917f8', 'Prospective Colon PNNL Proteome Qeplus', -0.2304, 'f8f1c401-b814-11e8-907f-0a2705229b82', 'LOC105369247', '105369247', NULL, NULL, 'leukosialin', 'Homo sapiens', '16', '-', NULL, NULL, 'XP_016855093.1;XP_016855094.1;XP_016855095.1;XP_016855096.1;XP_016855097.1', NULL);