-- DBMS: bigquery
CREATE TABLE `isb-cgc-bq.CPTAC.quant_proteome_prospective_ovarian_JHU_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 OVARIAN JHU PROTEOME",
  description="Normalized log2ratio protein abundance estimates for the Prospective Ovarian JHU Proteome study (PDC Study ID: PDC000110) 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", "cptac2"), ("category", "processed_-omics_data"), ("status", "current"), ("version", "v2_16")]
);

INSERT INTO `isb-cgc-bq.CPTAC.quant_proteome_prospective_ovarian_JHU_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 ('526a743e-0881-11eb-bc0e-0aad30af8a83', '526b02b7-0881-11eb-bc0e-0aad30af8a83', '526ba4fb-0881-11eb-bc0e-0aad30af8a83', 'e9d416e7-f661-400a-896e-388545_D2', '51b9e74b-dc37-410f-bd3a-95f9f414eed9', 'Prospective Ovarian JHU Proteome', -2.2904, 'f7b24ee5-b814-11e8-907f-0a2705229b82', 'COX2', '4513', 'HGNC', '7421', 'cytochrome c oxidase subunit II', 'Homo sapiens', 'MT', '-', 'P00403', 'P00403', 'P00403;YP_003024029.1', NULL), ('526a78cd-0881-11eb-bc0e-0aad30af8a83', '526b0874-0881-11eb-bc0e-0aad30af8a83', '526baab1-0881-11eb-bc0e-0aad30af8a83', '3dcf8b3c-c0c5-4dfa-9543-5d30fb_D2', '562694ab-612f-4120-9299-3c82b970ae45', 'Prospective Ovarian JHU Proteome', -1.083, 'f7b24ee5-b814-11e8-907f-0a2705229b82', 'COX2', '4513', 'HGNC', '7421', 'cytochrome c oxidase subunit II', 'Homo sapiens', 'MT', '-', 'P00403', 'P00403', 'P00403;YP_003024029.1', NULL), ('526a42f3-0881-11eb-bc0e-0aad30af8a83', '526ac797-0881-11eb-bc0e-0aad30af8a83', '526b6f41-0881-11eb-bc0e-0aad30af8a83', 'a3a26070-fb84-406a-8280-d555e6_D2', 'b19e524d-748e-4d33-9082-58839fc14276', 'Prospective Ovarian JHU Proteome', 0.6, 'f7b24ee5-b814-11e8-907f-0a2705229b82', 'COX2', '4513', 'HGNC', '7421', 'cytochrome c oxidase subunit II', 'Homo sapiens', 'MT', '-', 'P00403', 'P00403', 'P00403;YP_003024029.1', NULL), ('526a41f5-0881-11eb-bc0e-0aad30af8a83', '526ac49a-0881-11eb-bc0e-0aad30af8a83', '526b6d95-0881-11eb-bc0e-0aad30af8a83', '685ec3c2-e67a-40d3-9eb3-aa01c9_D1_D2', '96af5745-7464-415e-9468-732dbbcbcc81', 'Prospective Ovarian JHU Proteome', 1.7131, 'f7b24ee5-b814-11e8-907f-0a2705229b82', 'COX2', '4513', 'HGNC', '7421', 'cytochrome c oxidase subunit II', 'Homo sapiens', 'MT', '-', 'P00403', 'P00403', 'P00403;YP_003024029.1', NULL), ('526ab1ce-0881-11eb-bc0e-0aad30af8a83', '526b53e0-0881-11eb-bc0e-0aad30af8a83', '526be963-0881-11eb-bc0e-0aad30af8a83', 'QC2', '06659e55-d160-4723-af72-fcf2855c2c37', 'Prospective Ovarian JHU Proteome', 1.399, 'f7b24ee5-b814-11e8-907f-0a2705229b82', 'COX2', '4513', 'HGNC', '7421', 'cytochrome c oxidase subunit II', 'Homo sapiens', 'MT', '-', 'P00403', 'P00403', 'P00403;YP_003024029.1', NULL);