-- DBMS: bigquery
CREATE TABLE `isb-cgc-bq.CPTAC.per_sample_file_metadata_CPTAC3_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="CPTAC3-OTHER PER SAMPLE FILE METADATA FOR PDC",
  description="Per-sample file data was extracted from file metadata information for CPTAC3_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", "cptac3"), ("category", "metadata"), ("status", "current"), ("version", "v4_3")]
);

INSERT INTO `isb-cgc-bq.CPTAC.per_sample_file_metadata_CPTAC3_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 ('6ec59794-d155-407b-a924-b84999c29527', 'd3cad9e3-843a-41cf-b335-40dbc287b4e9', 'CR1', '94b9d52d-eb3f-4297-99c1-dd6201db47c4', 'CR1', NULL, 'CPTAC3_other', 'CPTAC3-Other', 'CPTAC', 'Clinical Proteomic Tumor Analysis Consortium', 'Raw Mass Spectra', 'TMT10', 'Proprietary', 976301393, 'vendor-specific', 'Orbitrap Fusion Lumos', 'BR20180216_SS_Microscale_PDXChunk_ProteomeF1.raw', 's3://pdcdatastore/raw-files/94/130/BR20180216_SS_Microscale_PDXChunk_ProteomeF1.raw', 'open'), ('25c7700e-c3d5-4c65-8129-891f41886bbb', 'd3cad9e3-843a-41cf-b335-40dbc287b4e9', 'CR1', '94b9d52d-eb3f-4297-99c1-dd6201db47c4', 'CR1', NULL, 'CPTAC3_other', 'CPTAC3-Other', 'CPTAC', 'Clinical Proteomic Tumor Analysis Consortium', 'Raw Mass Spectra', 'TMT10', 'Proprietary', 670776919, 'vendor-specific', 'Orbitrap Fusion Lumos', 'BR20180216_SS_Microscale_PDXChunk_ProteomeF2.raw', 's3://pdcdatastore/raw-files/94/130/BR20180216_SS_Microscale_PDXChunk_ProteomeF2.raw', 'open'), ('f27d2f07-6d2b-4b9c-b1da-097bdf0ab65a', 'd3cad9e3-843a-41cf-b335-40dbc287b4e9', 'CR1', '94b9d52d-eb3f-4297-99c1-dd6201db47c4', 'CR1', NULL, 'CPTAC3_other', 'CPTAC3-Other', 'CPTAC', 'Clinical Proteomic Tumor Analysis Consortium', 'Raw Mass Spectra', 'TMT10', 'Proprietary', 671570394, 'vendor-specific', 'Orbitrap Fusion Lumos', 'BR20180216_SS_Microscale_PDXChunk_ProteomeF3.raw', 's3://pdcdatastore/raw-files/94/130/BR20180216_SS_Microscale_PDXChunk_ProteomeF3.raw', 'open'), ('c5c652d5-52eb-4390-af27-bbb33238f2d3', 'd3cad9e3-843a-41cf-b335-40dbc287b4e9', 'CR1', '94b9d52d-eb3f-4297-99c1-dd6201db47c4', 'CR1', NULL, 'CPTAC3_other', 'CPTAC3-Other', 'CPTAC', 'Clinical Proteomic Tumor Analysis Consortium', 'Raw Mass Spectra', 'TMT10', 'Proprietary', 718943122, 'vendor-specific', 'Orbitrap Fusion Lumos', 'BR20180216_SS_Microscale_PDXChunk_ProteomeF4.raw', 's3://pdcdatastore/raw-files/94/130/BR20180216_SS_Microscale_PDXChunk_ProteomeF4.raw', 'open'), ('68399e22-8f3e-4406-9035-25c79c2bbc95', 'd3cad9e3-843a-41cf-b335-40dbc287b4e9', 'CR1', '94b9d52d-eb3f-4297-99c1-dd6201db47c4', 'CR1', NULL, 'CPTAC3_other', 'CPTAC3-Other', 'CPTAC', 'Clinical Proteomic Tumor Analysis Consortium', 'Raw Mass Spectra', 'TMT10', 'Proprietary', 709829686, 'vendor-specific', 'Orbitrap Fusion Lumos', 'BR20180216_SS_Microscale_PDXChunk_ProteomeF5.raw', 's3://pdcdatastore/raw-files/94/130/BR20180216_SS_Microscale_PDXChunk_ProteomeF5.raw', 'open');