-- DBMS: bigquery
CREATE TABLE `isb-cgc-bq.pancancer_atlas.Filtered_EBpp_AdjustPANCAN_IlluminaHiSeq_RNASeqV2_genExp`
(
  ParticipantBarcode STRING OPTIONS(description="TCGA barcode identifier for the study participant, eg TCGA-02-0001"),
  SampleBarcode STRING OPTIONS(description="Barcode of the biospecimen sample, eg TCGA-13-1489-02A"),
  AliquotBarcode STRING OPTIONS(description="TCGA aliquot barcode, eg TCGA-12-1089-01A-01D-0517-28"),
  SampleTypeLetterCode STRING OPTIONS(description="Letter code of the sample type using the TCGA standards, eg TPN, EBV. Full list available at https://gdc.cancer.gov/resources-tcga-users/tcga-code-tables/sample-type-codes"),
  SampleType STRING OPTIONS(description="There are 10 sample types: Blood Derived Normal, Primary solid Tumor, Solid Tissue Normal, Recurrent Solid Tumor, Metastatic, Additional - New Primary, Primary Blood Derived Cancer - Peripheral Blood, Buccal Cell Normal, Additioanal Metastatic, Bone Marrrow Normal"),
  Study STRING OPTIONS(description="TCGA study abbreviation, eg LAML. Full list available at https://gdc.cancer.gov/resources-tcga-users/tcga-code-tables/tcga-study-abbreviations"),
  Symbol STRING OPTIONS(description="eg TP53, LRP1B, etc (same as Hugo_Symbol field except blank instead of Unknown"),
  Entrez STRING OPTIONS(description="Entrez ID from the NCBI, eg 730971"),
  normalized_count FLOAT64 OPTIONS(description="Normalized gene expression")
)
OPTIONS(
  friendly_name="PanCancer Filtered RNA Final",
  description="Data extracted from the PanCancer Atlas initiative on the GDC in April 2018. Contains batch normalized RNASeqV2 mRNA data annotated with pertinent TCGA Barcodes.  \n\nNote: the data was extracted from the BigQuery Table isb-cgc:pancancer_atlas.EBpp_AdjustPANCAN_IlluminaHiSeq_RNASeqV2_genExp. The table was annotated with pertinent TCGA Barcodes, and participants were subsequently filtered using the PanCancer Atlas whitelist (table Whitelist_ParticipantBarcodes ).  \n\nMore details: BigQuery table: isb-cgc-bq:pancancer_atlas.Original_EBpp_AdjustPANCAN_IlluminaHiSeq_RNASeqV2_genExp and https://gdc.cancer.gov/about-data/publications/pancanatlas",
  labels=[("access", "open"), ("category", "processed_-omics_data"), ("data_type", "gene_expression"), ("program", "pancancer_atlas"), ("reference_genome", "hg19"), ("source_0", "gdc"), ("source_1", "literature"), ("status", "current")]
);

INSERT INTO `isb-cgc-bq.pancancer_atlas.Filtered_EBpp_AdjustPANCAN_IlluminaHiSeq_RNASeqV2_genExp` (ParticipantBarcode, SampleBarcode, AliquotBarcode, SampleTypeLetterCode, SampleType, Study, Symbol, Entrez, normalized_count) VALUES ('TCGA-06-0675', 'TCGA-06-0675-11A', 'TCGA-06-0675-11A-32R-A36H-07', 'NT', 'Solid Tissue Normal', 'GBM', 'SNORA3', '619562', 0.0), ('TCGA-06-0675', 'TCGA-06-0675-11A', 'TCGA-06-0675-11A-32R-A36H-07', 'NT', 'Solid Tissue Normal', 'GBM', 'SH3TC1', '54436', 270.806), ('TCGA-06-0675', 'TCGA-06-0675-11A', 'TCGA-06-0675-11A-32R-A36H-07', 'NT', 'Solid Tissue Normal', 'GBM', 'F2RL1', '2150', 52.6318), ('TCGA-06-0675', 'TCGA-06-0675-11A', 'TCGA-06-0675-11A-32R-A36H-07', 'NT', 'Solid Tissue Normal', 'GBM', 'FGF1', '2246', 1356.73), ('TCGA-06-0675', 'TCGA-06-0675-11A', 'TCGA-06-0675-11A-32R-A36H-07', 'NT', 'Solid Tissue Normal', 'GBM', 'LOC728410', '728410', 0.0);