-- DBMS: bigquery
CREATE TABLE `isb-cgc-bq.CPTAC.per_sample_file_metadata_proteogenomic_translational_research_centers_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="PROTEOGENOMIC TRANSLATIONAL RESEARCH CENTERS (PTRC) PER SAMPLE FILE METADATA FOR PDC",
  description="Per-sample file data was extracted from file metadata information for proteogenomic_translational_research_centers 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_proteogenomic_translational_research_centers_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 ('7e92a61b-086c-4639-a77e-0b64265b72c1', '2ae9b699-e485-4880-a3a2-f84970d70a5a', '1', 'b50e5d2a-acf7-464c-8c0c-e7315c3557cb', '500263', 'Metastatic', 'proteogenomic_translational_research_centers', 'Proteogenomic Translational Research Centers (PTRC)', 'CPTAC', 'Clinical Proteomic Tumor Analysis Consortium', 'Raw Mass Spectra', 'TMT11', 'Proprietary', 1783380545, 'vendor-specific', 'Orbitrap Fusion', 'JK040620_040820_PTRC_OV_FFPE_GR18_TMT11plex_IMAC.raw', 's3://pdcdatastore/raw-files/124/153/JK040620_040820_PTRC_OV_FFPE_GR18_TMT11plex_IMAC.raw', 'open'), ('7e92a61b-086c-4639-a77e-0b64265b72c1', '2ae9b699-e485-4880-a3a2-f84970d70a5a', '1', '5f68f72a-c038-43ad-9da5-d1b4b439fd1b', '500273', 'Primary Tumor', 'proteogenomic_translational_research_centers', 'Proteogenomic Translational Research Centers (PTRC)', 'CPTAC', 'Clinical Proteomic Tumor Analysis Consortium', 'Raw Mass Spectra', 'TMT11', 'Proprietary', 1783380545, 'vendor-specific', 'Orbitrap Fusion', 'JK040620_040820_PTRC_OV_FFPE_GR18_TMT11plex_IMAC.raw', 's3://pdcdatastore/raw-files/124/153/JK040620_040820_PTRC_OV_FFPE_GR18_TMT11plex_IMAC.raw', 'open'), ('c8dfaf36-ab5b-43b7-bda5-68778c6e86e6', '2ae9b699-e485-4880-a3a2-f84970d70a5a', '1', '5f68f72a-c038-43ad-9da5-d1b4b439fd1b', '500273', 'Primary Tumor', 'proteogenomic_translational_research_centers', 'Proteogenomic Translational Research Centers (PTRC)', 'CPTAC', 'Clinical Proteomic Tumor Analysis Consortium', 'Peptide Spectral Matches', 'TMT11', 'Text', 3366128, 'tsv', 'Orbitrap Fusion', 'JK040620_040820_PTRC_OV_FFPE_GR18_TMT11plex_IMAC.psm', 's3://pdcdatastore/studies/359/PSM/tsv/JK040620_040820_PTRC_OV_FFPE_GR18_TMT11plex_IMAC.psm', 'open'), ('c8dfaf36-ab5b-43b7-bda5-68778c6e86e6', '2ae9b699-e485-4880-a3a2-f84970d70a5a', '1', 'b50e5d2a-acf7-464c-8c0c-e7315c3557cb', '500263', 'Metastatic', 'proteogenomic_translational_research_centers', 'Proteogenomic Translational Research Centers (PTRC)', 'CPTAC', 'Clinical Proteomic Tumor Analysis Consortium', 'Peptide Spectral Matches', 'TMT11', 'Text', 3366128, 'tsv', 'Orbitrap Fusion', 'JK040620_040820_PTRC_OV_FFPE_GR18_TMT11plex_IMAC.psm', 's3://pdcdatastore/studies/359/PSM/tsv/JK040620_040820_PTRC_OV_FFPE_GR18_TMT11plex_IMAC.psm', 'open'), ('03cef750-1b5a-4beb-a309-3f5a546b87a7', '2ae9b699-e485-4880-a3a2-f84970d70a5a', '1', '5f68f72a-c038-43ad-9da5-d1b4b439fd1b', '500273', 'Primary Tumor', 'proteogenomic_translational_research_centers', 'Proteogenomic Translational Research Centers (PTRC)', 'CPTAC', 'Clinical Proteomic Tumor Analysis Consortium', 'Processed Mass Spectra', 'TMT11', 'Open Standard', 316732344, 'mzML', 'Orbitrap Fusion', 'JK040620_040820_PTRC_OV_FFPE_GR18_TMT11plex_IMAC.mzML.gz', 's3://pdcdatastore/studies/359/mzml/JK040620_040820_PTRC_OV_FFPE_GR18_TMT11plex_IMAC.mzML.gz', 'open');