-- DBMS: bigquery
CREATE TABLE `isb-cgc-bq.CPTAC.quant_proteome_CPTAC_UCEC_confirmatory_study_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="CPTAC UCEC CONFIRMATORY STUDY",
  description="Normalized log2ratio protein abundance estimates for the CPTAC UCEC Confirmatory Study - Proteome study (PDC Study ID: PDC000439) 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_CPTAC_UCEC_confirmatory_study_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 ('2bd188fe-2c61-4481-af47-7805ca1d9ea8', 'b32a97d3-71cf-4cb5-acdf-53e9ae8c7f3e', 'ddfa8423-0214-4811-a2c4-c2982be6adc1', 'CPT0091910003', '3abbafe3-16b6-4ed0-8eda-29de464b7bca', 'CPTAC UCEC Confirmatory Study - Proteome', 0.4396, 'f7b24772-b814-11e8-907f-0a2705229b82', 'COX1', '4512', 'HGNC', '7419', 'cytochrome c oxidase subunit I', 'Homo sapiens', 'MT', '-', 'P00395', 'P00395', 'P00395;YP_003024028.1', NULL), ('c737b5c2-3ea1-4a84-b297-4e74cb3fba23', 'c021cefb-5929-40a5-b8a0-3f731264fc5a', '93227a01-19aa-4f3f-972a-267738704bc9', 'CPT0087260003', '84943168-6bab-47e1-8b01-b3a5c5ded2f0', 'CPTAC UCEC Confirmatory Study - Proteome', -0.4726, 'f7b24772-b814-11e8-907f-0a2705229b82', 'COX1', '4512', 'HGNC', '7419', 'cytochrome c oxidase subunit I', 'Homo sapiens', 'MT', '-', 'P00395', 'P00395', 'P00395;YP_003024028.1', NULL), ('6aecf005-aecb-4438-b591-b82d30baa842', '07d373e4-ff7c-4132-85c3-da11302eb625', '1ff08d2f-0c16-4897-ac68-93de13c446ea', 'CPT0133770008', 'c7da3837-b675-4e4e-b948-c1751684c76f', 'CPTAC UCEC Confirmatory Study - Proteome', -0.6099, 'f7b24772-b814-11e8-907f-0a2705229b82', 'COX1', '4512', 'HGNC', '7419', 'cytochrome c oxidase subunit I', 'Homo sapiens', 'MT', '-', 'P00395', 'P00395', 'P00395;YP_003024028.1', NULL), ('18cffd55-6993-48ca-81ed-9096a5ec7f9a', '9429b75e-7cb8-4be0-a08d-df3651fb7f29', '63477d00-7120-4c8a-a9fd-78ca5155ab9a', 'CPT0097440003', '2e0d3e0e-4eff-4d26-8686-21dbe5944cf2', 'CPTAC UCEC Confirmatory Study - Proteome', 0.4459, 'f7b24772-b814-11e8-907f-0a2705229b82', 'COX1', '4512', 'HGNC', '7419', 'cytochrome c oxidase subunit I', 'Homo sapiens', 'MT', '-', 'P00395', 'P00395', 'P00395;YP_003024028.1', NULL), ('4ab8aa9d-c16c-442e-8f9c-daf1003de902', 'aff124b6-4b17-420c-980e-61247045bc83', '502763f7-855c-4bc3-8f9b-03f5b1df89c3', 'CPT0115470003', '17b2270f-4473-48ed-a6dd-fb4c814b1210', 'CPTAC UCEC Confirmatory Study - Proteome', 0.7356, 'f7b24772-b814-11e8-907f-0a2705229b82', 'COX1', '4512', 'HGNC', '7419', 'cytochrome c oxidase subunit I', 'Homo sapiens', 'MT', '-', 'P00395', 'P00395', 'P00395;YP_003024028.1', NULL);