-- DBMS: bigquery
CREATE TABLE `isb-cgc-bq.CPTAC.per_sample_file_metadata_CPTAC2_other_pdc_current`
(
  file_id STRING OPTIONS(description="An identifier (UUID) to uniquely identify the file in PDC (e.g. 795dd383-5efd-484b-9c2f-f061ae617fc7)"),
  case_id STRING OPTIONS(description="Unique identifier associated with a specific patient (e.g. 24cb0fcb-63d6-11e8-bcf1-0a2705229b82)"),
  case_submitter_id STRING OPTIONS(description="Unique identifier deriving from the data submitter that is associated with a specific patient (e.g. 05BR016)"),
  sample_id STRING OPTIONS(description="Unique PDC identifier for this sample (e.g. e8d83eb9-693a-11ea-b1fd-0aad30af8a83)"),
  sample_submitter_id STRING OPTIONS(description="Unique identifier deriving from the data submitter that is associated with a specific sample (e.g. Tumor Pat1)"),
  sample_type STRING OPTIONS(description="Text term to describe the source of a biospecimen used for a laboratory test"),
  project_short_name STRING OPTIONS(description="Project name abbreviation (e.g. pediatric_brain_cancer)"),
  project_submitter_id STRING OPTIONS(description="Unique identifier deriving from the data submitter that is associated with a specific project (e.g. CPTAC3-Discovery)"),
  program_short_name STRING OPTIONS(description="Program name abbreviation (e.g. CPTAC)"),
  program_name STRING OPTIONS(description="Name of the data's source program"),
  data_category STRING OPTIONS(description="Category description of the underlying data (e.g. Clinical, Raw Sequencing Data, Simple Nucleotide Variation, Transcriptome Profiling)"),
  experiment_type STRING OPTIONS(description="General strategy used for differential analysis"),
  file_type STRING OPTIONS(description="File type (e.g. aligned_reads, simple_somatic_mutation, gene_expression)"),
  file_size INT64 OPTIONS(description="The size of the file measured in bytes"),
  file_format STRING OPTIONS(description="File format of the underlying data (eg BCR XML, BAM)"),
  instrument STRING OPTIONS(description="Make and model of the mass spectrometry instrument"),
  file_name STRING OPTIONS(description="Name of file in PDC"),
  file_location STRING OPTIONS(description="Physical location of the file on the server"),
  `access` STRING OPTIONS(description="Data accessibility policy (open or controlled)")
)
OPTIONS(
  friendly_name="CPTAC2-OTHER PER SAMPLE FILE METADATA FOR PDC",
  description="Per-sample file data was extracted from file metadata information for CPTAC2_other provided by CDA in August 2024 from the PDC release V4.3.",
  labels=[("access", "open"), ("data_type", "file_metadata"), ("source_0", "cda"), ("source_1", "pdc"), ("program", "cptac2"), ("category", "metadata"), ("status", "current"), ("version", "v4_3")]
);

INSERT INTO `isb-cgc-bq.CPTAC.per_sample_file_metadata_CPTAC2_other_pdc_current` (file_id, case_id, case_submitter_id, sample_id, sample_submitter_id, sample_type, project_short_name, project_submitter_id, program_short_name, program_name, data_category, experiment_type, file_type, file_size, file_format, instrument, file_name, file_location, access) VALUES ('495bcd88-6252-47da-9482-9cb16b5b80da', '7e593a86-39ae-4062-b95b-36ed1c79d031', 'WHIM2', '1a86f11e-27d0-43bf-8f74-204c7f94978e', 'WHIM2', 'Xenograft Tissue', 'CPTAC2_other', 'CPTAC2-Other', 'CPTAC', 'Clinical Proteomic Tumor Analysis Consortium', 'Raw Mass Spectra', 'iTRAQ4', 'Proprietary', 722489496, 'vendor-specific', 'Q Exactive', 'WHIM01_2_8_21_IR_W_BI_20131206_H-PM_fA.raw', 's3://pdcdatastore/raw-files/94/122/WHIM01_2_8_21_IR_W_BI_20131206_H-PM_fA.raw', 'open'), ('b9d218ed-19d1-460d-9f49-91c4b69ccf8a', '7e593a86-39ae-4062-b95b-36ed1c79d031', 'WHIM2', '1a86f11e-27d0-43bf-8f74-204c7f94978e', 'WHIM2', 'Xenograft Tissue', 'CPTAC2_other', 'CPTAC2-Other', 'CPTAC', 'Clinical Proteomic Tumor Analysis Consortium', 'Raw Mass Spectra', 'iTRAQ4', 'Proprietary', 1339318369, 'vendor-specific', 'Q Exactive', 'WHIM01_2_8_21_IR_W_BI_20131217_H-PM_f01.raw', 's3://pdcdatastore/raw-files/94/122/WHIM01_2_8_21_IR_W_BI_20131217_H-PM_f01.raw', 'open'), ('c69a4929-40a4-4b38-9a42-96c57de6ec12', '7e593a86-39ae-4062-b95b-36ed1c79d031', 'WHIM2', '1a86f11e-27d0-43bf-8f74-204c7f94978e', 'WHIM2', 'Xenograft Tissue', 'CPTAC2_other', 'CPTAC2-Other', 'CPTAC', 'Clinical Proteomic Tumor Analysis Consortium', 'Raw Mass Spectra', 'iTRAQ4', 'Proprietary', 1330825028, 'vendor-specific', 'Q Exactive', 'WHIM01_2_8_21_IR_W_BI_20131217_H-PM_f02.raw', 's3://pdcdatastore/raw-files/94/122/WHIM01_2_8_21_IR_W_BI_20131217_H-PM_f02.raw', 'open'), ('5417c282-6833-419b-a186-c7d34aa128a8', '7e593a86-39ae-4062-b95b-36ed1c79d031', 'WHIM2', '1a86f11e-27d0-43bf-8f74-204c7f94978e', 'WHIM2', 'Xenograft Tissue', 'CPTAC2_other', 'CPTAC2-Other', 'CPTAC', 'Clinical Proteomic Tumor Analysis Consortium', 'Raw Mass Spectra', 'iTRAQ4', 'Proprietary', 1330731281, 'vendor-specific', 'Q Exactive', 'WHIM01_2_8_21_IR_W_BI_20131217_H-PM_f03.raw', 's3://pdcdatastore/raw-files/94/122/WHIM01_2_8_21_IR_W_BI_20131217_H-PM_f03.raw', 'open'), ('b00ff8af-911a-4534-b994-dff0aa394992', '7e593a86-39ae-4062-b95b-36ed1c79d031', 'WHIM2', '1a86f11e-27d0-43bf-8f74-204c7f94978e', 'WHIM2', 'Xenograft Tissue', 'CPTAC2_other', 'CPTAC2-Other', 'CPTAC', 'Clinical Proteomic Tumor Analysis Consortium', 'Raw Mass Spectra', 'iTRAQ4', 'Proprietary', 1331321909, 'vendor-specific', 'Q Exactive', 'WHIM01_2_8_21_IR_W_BI_20131217_H-PM_f04.raw', 's3://pdcdatastore/raw-files/94/122/WHIM01_2_8_21_IR_W_BI_20131217_H-PM_f04.raw', 'open');