-- DBMS: bigquery
CREATE TABLE `isb-cgc-bq.CPTAC.quant_proteome_PTRC_HGSOC_FFPE_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 FFPE VALIDATION – PROTEOME",
  description="Normalized log2ratio protein abundance estimates for the PTRC HGSOC FFPE Validation - Proteome study (PDC Study ID: PDC000358) 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_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 ('7cc8c834-8568-4272-aa30-95107b456187', '94fe5a77-a9f2-484b-9498-b10489305c88', '763a0ebf-e30a-45d4-bd25-a1268ec667f0', 'B1279', '8b31c12a-7529-4e47-8048-db1bc71bf946', 'PTRC HGSOC FFPE Validation - Proteome', 0.0572, 'f7b24ee5-b814-11e8-907f-0a2705229b82', 'COX2', '4513', 'HGNC', '7421', 'cytochrome c oxidase subunit II', 'Homo sapiens', 'MT', '-', 'P00403', 'P00403', 'P00403;YP_003024029.1', NULL), ('98738137-a994-4f40-9c30-28f5ed8b3dd7', '4411088b-a3e4-47d6-afa4-f60521450cf2', '8d979e22-522b-457e-9a28-1563a2f5d624', 'B792', '829c2773-5c68-4df8-8606-9962d6306d93', 'PTRC HGSOC FFPE Validation - Proteome', -0.0577, 'f7b24ee5-b814-11e8-907f-0a2705229b82', 'COX2', '4513', 'HGNC', '7421', 'cytochrome c oxidase subunit II', 'Homo sapiens', 'MT', '-', 'P00403', 'P00403', 'P00403;YP_003024029.1', NULL), ('8cd446ce-a0c7-4d55-ba46-07ffa99752d7', 'f7753cc2-3a48-459e-875d-775343b62578', '11983926-6403-4bf4-9eaf-39f6facc93a3', 'B564', 'b3a1c944-afe2-4380-b882-4110ba705fe3', 'PTRC HGSOC FFPE Validation - Proteome', 0.2563, 'f7b24ee5-b814-11e8-907f-0a2705229b82', 'COX2', '4513', 'HGNC', '7421', 'cytochrome c oxidase subunit II', 'Homo sapiens', 'MT', '-', 'P00403', 'P00403', 'P00403;YP_003024029.1', NULL), ('a25d73bd-a0e9-45de-bd29-6ab859d46306', '213598b4-eec7-4125-b1c8-da249bd7facf', '62f6e950-fc84-4808-877b-518ef12334f8', 'B572', '2a28a05c-fdcb-4d64-b9b5-74f4add9142c', 'PTRC HGSOC FFPE Validation - Proteome', -0.2389, 'f7b24ee5-b814-11e8-907f-0a2705229b82', 'COX2', '4513', 'HGNC', '7421', 'cytochrome c oxidase subunit II', 'Homo sapiens', 'MT', '-', 'P00403', 'P00403', 'P00403;YP_003024029.1', NULL), ('f60c0cf2-0b8a-4c81-a125-662367790ce9', '5626a3ef-8c44-4a32-beb6-4f6017033b29', '7cf69e4c-4dc3-4115-9a27-e5b93fffc04f', 'B986', '22e6dbdc-3aa5-4ba1-8793-3e23a9c20bc5', 'PTRC HGSOC FFPE Validation - Proteome', 0.1307, 'f7b24ee5-b814-11e8-907f-0a2705229b82', 'COX2', '4513', 'HGNC', '7421', 'cytochrome c oxidase subunit II', 'Homo sapiens', 'MT', '-', 'P00403', 'P00403', 'P00403;YP_003024029.1', NULL);