-- DBMS: bigquery
CREATE TABLE `isb-cgc-bq.CPTAC.quant_proteome_prospective_breast_BI_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 BREAST INVASIVE PROTEOME",
  description="Normalized log2ratio protein abundance estimates for the Prospective Breast BI Proteome study (PDC Study ID: PDC000120) 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_breast_BI_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 ('327fd1dc-0a5d-11eb-bc0e-0aad30af8a83', '3280a58b-0a5d-11eb-bc0e-0aad30af8a83', '32818c85-0a5d-11eb-bc0e-0aad30af8a83', '45b99ac4-0859-4a3d-8b1e-ce5590_D2.3', 'b38f2adb-36e6-4d39-9292-276cd4935d0f', 'Prospective Breast BI Proteome', -0.2241, 'f7b24772-b814-11e8-907f-0a2705229b82', 'COX1', '4512', 'HGNC', '7419', 'cytochrome c oxidase subunit I', 'Homo sapiens', 'MT', '-', 'P00395', 'P00395', 'P00395;YP_003024028.1', NULL), ('327f9693-0a5d-11eb-bc0e-0aad30af8a83', '32805c60-0a5d-11eb-bc0e-0aad30af8a83', '3281619f-0a5d-11eb-bc0e-0aad30af8a83', '3799eeb5-c966-4059-a78f-ace269_D2', 'e927abd2-d5ff-4cb5-882f-1be48ab22a6f', 'Prospective Breast BI Proteome', -0.7777, 'f7b24772-b814-11e8-907f-0a2705229b82', 'COX1', '4512', 'HGNC', '7419', 'cytochrome c oxidase subunit I', 'Homo sapiens', 'MT', '-', 'P00395', 'P00395', 'P00395;YP_003024028.1', NULL), ('327fc001-0a5d-11eb-bc0e-0aad30af8a83', '32808d16-0a5d-11eb-bc0e-0aad30af8a83', '32817ce3-0a5d-11eb-bc0e-0aad30af8a83', '0a80d3c4-0758-447a-958c-ea868c', '286812c5-2d02-4f4a-b7ad-8f1665f41ce4', 'Prospective Breast BI Proteome', nan, 'f7b24772-b814-11e8-907f-0a2705229b82', 'COX1', '4512', 'HGNC', '7419', 'cytochrome c oxidase subunit I', 'Homo sapiens', 'MT', '-', 'P00395', 'P00395', 'P00395;YP_003024028.1', NULL), ('327fec71-0a5d-11eb-bc0e-0aad30af8a83', '3280e2ae-0a5d-11eb-bc0e-0aad30af8a83', '3281ae0d-0a5d-11eb-bc0e-0aad30af8a83', 'ca14c6dd-2069-4bc5-b1f2-6f2297_D2', 'eee1e7fe-1d23-43d4-8c4a-fb0d6de66f67', 'Prospective Breast BI Proteome', 0.2676, 'f7b24772-b814-11e8-907f-0a2705229b82', 'COX1', '4512', 'HGNC', '7419', 'cytochrome c oxidase subunit I', 'Homo sapiens', 'MT', '-', 'P00395', 'P00395', 'P00395;YP_003024028.1', NULL), ('327fb9da-0a5d-11eb-bc0e-0aad30af8a83', '328085db-0a5d-11eb-bc0e-0aad30af8a83', '3281799e-0a5d-11eb-bc0e-0aad30af8a83', '8dd1d8be-dc7e-44f5-9f44-77ecf0_D2', '1233d716-9a6a-4e30-bee7-c17d851ccf79', 'Prospective Breast BI Proteome', 0.1147, 'f7b24772-b814-11e8-907f-0a2705229b82', 'COX1', '4512', 'HGNC', '7419', 'cytochrome c oxidase subunit I', 'Homo sapiens', 'MT', '-', 'P00395', 'P00395', 'P00395;YP_003024028.1', NULL);