-- DBMS: bigquery
CREATE TABLE `isb-cgc-bq.CPTAC.quant_proteome_PTRC_HGSOC_frozen_validation_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 FROZEN VALIDATION – PROTEOME",
  description="Normalized log2ratio protein abundance estimates for the PTRC HGSOC Frozen Validation - Proteome study (PDC Study ID: PDC000362) 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_frozen_validation_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 ('a406851b-a980-4a6b-85fe-074a626a7035', 'ab97466a-ad04-4b53-80f6-08634438781b', '57e77c63-ad0c-43b4-aa92-9602bbddb6ff', '494977', '994de566-e984-4b48-8158-c8b0980725d2', 'PTRC HGSOC Frozen Validation - Proteome', nan, '0bb3580d-419a-11e9-9a07-0a80fada099c', 'CRYZL2P-SEC16B', '111240474', 'HGNC', '53757', 'CRYZL2P-SEC16B readthrough', 'Homo sapiens', '1', '-', NULL, NULL, 'NP_001343434.1;NP_001343435.1', NULL), ('e1f526c3-081b-42fd-923f-e270066b1ed3', '6aa3287a-093e-4da1-baf4-667dc06b4687', 'b14015ae-281c-462d-a9cd-4c53e790e313', '243305', 'f5a6a945-1ad4-43a2-afb6-97033c524764', 'PTRC HGSOC Frozen Validation - Proteome', nan, '0bb3580d-419a-11e9-9a07-0a80fada099c', 'CRYZL2P-SEC16B', '111240474', 'HGNC', '53757', 'CRYZL2P-SEC16B readthrough', 'Homo sapiens', '1', '-', NULL, NULL, 'NP_001343434.1;NP_001343435.1', NULL), ('cd8fe248-0dfc-47c7-a91a-007c45c8bf00', '8acc7a34-5e59-46e9-830d-1c3aa66ce359', 'e0a07074-601d-4498-a96d-915067358a40', '297950', '3dd0325a-caf2-4ad4-a596-d0cc769302f1', 'PTRC HGSOC Frozen Validation - Proteome', -0.3256, '0bb3580d-419a-11e9-9a07-0a80fada099c', 'CRYZL2P-SEC16B', '111240474', 'HGNC', '53757', 'CRYZL2P-SEC16B readthrough', 'Homo sapiens', '1', '-', NULL, NULL, 'NP_001343434.1;NP_001343435.1', NULL), ('09cd7eb4-42a9-4619-8809-ef5cf6e66f67', '1400b168-0ee2-4fb0-a502-c063c8ff79e1', 'b0f20cb9-c152-4a9c-8dfd-ede002b70ff1', '557978', '63186a4c-6fe1-4358-aa73-d2d698d392f2', 'PTRC HGSOC Frozen Validation - Proteome', -0.4082, '0bb3580d-419a-11e9-9a07-0a80fada099c', 'CRYZL2P-SEC16B', '111240474', 'HGNC', '53757', 'CRYZL2P-SEC16B readthrough', 'Homo sapiens', '1', '-', NULL, NULL, 'NP_001343434.1;NP_001343435.1', NULL), ('82133ac9-a5e7-4b33-b3d4-7774056d17ec', 'f0f03a3d-5341-4b2e-8707-ee99fd6f7690', '6b3828c0-93a0-44fa-8e84-dfe671694fc5', '261437', 'b3c64544-a120-47ba-afb3-afbeff628ce6', 'PTRC HGSOC Frozen Validation - Proteome', nan, '0bb3580d-419a-11e9-9a07-0a80fada099c', 'CRYZL2P-SEC16B', '111240474', 'HGNC', '53757', 'CRYZL2P-SEC16B readthrough', 'Homo sapiens', '1', '-', NULL, NULL, 'NP_001343434.1;NP_001343435.1', NULL);