-- DBMS: bigquery
CREATE TABLE `isb-cgc-bq.HTAN_versioned.scRNAseq_level3_metadata_r2`
(
  Component STRING,
  Filename STRING,
  File_Format STRING,
  HTAN_Parent_Data_File_ID STRING,
  HTAN_Data_File_ID STRING,
  Data_Category STRING,
  Matrix_Type STRING,
  Linked_Matrices STRING,
  Cell_Median_Number_Reads STRING,
  Cell_Median_Number_Genes STRING,
  Cell_Total STRING,
  scRNAseq_Workflow_Type STRING,
  scRNAseq_Workflow_Parameters_Description STRING,
  Workflow_Link STRING,
  Workflow_Version STRING,
  entityId STRING,
  HTAN_Center STRING,
  Data_Release STRING,
  File_Size INT64,
  Base_Filename STRING,
  md5 STRING
)
OPTIONS(
  friendly_name="HTAN SCRNASEQ LEVEL 3 METADATA R2 VERSIONED",
  description="Data was extracted from HTAN Synapse projects in April 2022. More details: see https://data.humantumoratlas.org/standard/rnaseq",
  labels=[("access", "open"), ("data_type", "file_metadata"), ("program", "htan"), ("source", "htan"), ("status", "current"), ("category", "metadata")]
);

INSERT INTO `isb-cgc-bq.HTAN_versioned.scRNAseq_level3_metadata_r2` (Component, Filename, File_Format, HTAN_Parent_Data_File_ID, HTAN_Data_File_ID, Data_Category, Matrix_Type, Linked_Matrices, Cell_Median_Number_Reads, Cell_Median_Number_Genes, Cell_Total, scRNAseq_Workflow_Type, scRNAseq_Workflow_Parameters_Description, Workflow_Link, Workflow_Version, entityId, HTAN_Center, Data_Release, File_Size, Base_Filename, md5) VALUES ('ScRNA-seqLevel3', 'single_cell_RNAseq_level_3_colon/HTAPP-272-SMP-4831_none_channel1_matrix.mtx', 'mtx', 'HTA1_272_4831101101', 'HTA1_272_48311011013', 'Gene Expression Quantification', 'Raw Counts', 'None', '18,597', '3,298', '871', 'CellRanger', 'Cumulus cellranger_workflow with default settings, CellRanger 2', 'https://portal.firecloud.org/?return=terra#methods/cumulus/cellranger_workflow/18', '18', 'syn24181474', 'HTAN HTAPP', 'Release 1.0', 102378303, 'HTAPP-272-SMP-4831_none_channel1_matrix.mtx', '3d3d6bb74f4c42a471c72ec259d6e37a'), ('ScRNA-seqLevel3', 'single_cell_RNAseq_level_3_colon/HTAPP-273-SMP-4861_none_channel1_matrix.mtx', 'mtx', 'HTA1_273_4861101101', 'HTA1_273_48611011013', 'Gene Expression Quantification', 'Raw Counts', 'None', '8,266', '1,878', '1,028', 'CellRanger', 'Cumulus cellranger_workflow with default settings, CellRanger 2', 'https://portal.firecloud.org/?return=terra#methods/cumulus/cellranger_workflow/18', '18', 'syn24181503', 'HTAN HTAPP', 'Release 1.0', 88466317, 'HTAPP-273-SMP-4861_none_channel1_matrix.mtx', 'fa2f4d13830a6835bb9f617d0985588e'), ('ScRNA-seqLevel3', 'single_cell_RNAseq_level_3_colon/HTAPP-326-SMP-5131_none_channel1_matrix.mtx', 'mtx', 'HTA1_326_5131101101', 'HTA1_326_51311011013', 'Gene Expression Quantification', 'Raw Counts', 'None', '16,166', '2,991', '1,165', 'CellRanger', 'Cumulus cellranger_workflow with default settings, CellRanger 2', 'https://portal.firecloud.org/?return=terra#methods/cumulus/cellranger_workflow/18', '18', 'syn24181490', 'HTAN HTAPP', 'Release 1.0', 136841785, 'HTAPP-326-SMP-5131_none_channel1_matrix.mtx', '339011ed50ac2963ed7579bd7bf291a3'), ('ScRNA-seqLevel3', 'single_cell_RNAseq_level_3_colon/HTAPP-335-SMP-5191_none_channel1_matrix.mtx', 'mtx', 'HTA1_335_5191101101', 'HTA1_335_51911011013', 'Gene Expression Quantification', 'Raw Counts', 'None', '14,241', '3,105', '1,183', 'CellRanger', 'Cumulus cellranger_workflow with default settings, CellRanger 2', 'https://portal.firecloud.org/?return=terra#methods/cumulus/cellranger_workflow/18', '18', 'syn24181489', 'HTAN HTAPP', 'Release 1.0', 113777837, 'HTAPP-335-SMP-5191_none_channel1_matrix.mtx', 'ba8f18667da9f590e8d1b69a59dae33e'), ('ScRNA-seqLevel3', 'single_cell_RNAseq_level_3_colon/HTAPP-357-SMP-5311_none_channel1_matrix.mtx', 'mtx', 'HTA1_357_5311101101', 'HTA1_357_53111011013', 'Gene Expression Quantification', 'Raw Counts', 'None', '14,388', '3,055', '1,158', 'CellRanger', 'Cumulus cellranger_workflow with default settings, CellRanger 2', 'https://portal.firecloud.org/?return=terra#methods/cumulus/cellranger_workflow/18', '18', 'syn24181466', 'HTAN HTAPP', 'Release 1.0', 138292920, 'HTAPP-357-SMP-5311_none_channel1_matrix.mtx', 'b8a844c159a91001e2b995af62a7b127');