-- DBMS: bigquery
CREATE TABLE `isb-cgc-bq.CPTAC.quant_phosphoproteome_CPTAC_PDA_discovery_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"),
  refseq_id STRING OPTIONS(description="Unique identifier given to a sequence in the NCBI RefSeq database"),
  phosphorylation_sites STRING OPTIONS(description="Single letter codes and protein sequence positions of the phosphorylated amino acids (e.g. t304s310, t59)")
)
OPTIONS(
  friendly_name="CPTAC3-DISCOVERY PANCREATIC DUCTAL ADENOCARCINOMA (PDA) PHOSPHOPROTEOME",
  description="Normalized log2ratio protein abundance estimates for the CPTAC PDA Discovery Study - Phosphoproteome study (PDC Study ID: PDC000271) was extracted using PDC API V2.10 in August 2022. 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", "phosphoproteome"), ("source", "pdc"), ("program", "cptac3"), ("category", "processed_-omics_data"), ("status", "current"), ("version", "v2_10")]
);

INSERT INTO `isb-cgc-bq.CPTAC.quant_phosphoproteome_CPTAC_PDA_discovery_study_pdc_current` (case_id, sample_id, aliquot_id, aliquot_submitter_id, aliquot_run_metadata_id, study_name, protein_abundance_log2ratio, refseq_id, phosphorylation_sites) VALUES ('54bd49cd-0642-47b7-b56c-70c1dc358435', '3dfe6ae9-d5bf-4cb2-ad54-5bea84386e4c', '27b66033-20cc-498f-ae88-b475ed63348d', 'QC1', 'd77b875f-53f5-4cb1-aa58-e4aa5d9af097', 'CPTAC PDA Discovery Study - Phosphoproteome', 0.3407, 'NP_001186326.1', 's865'), ('54bd49cd-0642-47b7-b56c-70c1dc358435', '3dfe6ae9-d5bf-4cb2-ad54-5bea84386e4c', '27b66033-20cc-498f-ae88-b475ed63348d', 'QC1', 'd77b875f-53f5-4cb1-aa58-e4aa5d9af097', 'CPTAC PDA Discovery Study - Phosphoproteome', 0.7406, 'NP_001012339.2', 's15'), ('54bd49cd-0642-47b7-b56c-70c1dc358435', '3dfe6ae9-d5bf-4cb2-ad54-5bea84386e4c', '27b66033-20cc-498f-ae88-b475ed63348d', 'QC1', 'd77b875f-53f5-4cb1-aa58-e4aa5d9af097', 'CPTAC PDA Discovery Study - Phosphoproteome', -0.0488, 'XP_006714818.1', 's263'), ('54bd49cd-0642-47b7-b56c-70c1dc358435', '3dfe6ae9-d5bf-4cb2-ad54-5bea84386e4c', '27b66033-20cc-498f-ae88-b475ed63348d', 'QC1', 'd77b875f-53f5-4cb1-aa58-e4aa5d9af097', 'CPTAC PDA Discovery Study - Phosphoproteome', 1.4821, 'NP_001136086.1', 's401'), ('54bd49cd-0642-47b7-b56c-70c1dc358435', '3dfe6ae9-d5bf-4cb2-ad54-5bea84386e4c', '27b66033-20cc-498f-ae88-b475ed63348d', 'QC1', 'd77b875f-53f5-4cb1-aa58-e4aa5d9af097', 'CPTAC PDA Discovery Study - Phosphoproteome', 0.3266, 'NP_001291744.1', 's780');