-- DBMS: bigquery
CREATE TABLE `isb-cgc-bq.pancancer_atlas.Filtered_pancanMiRs_EBadjOnProtocolPlatformWithoutRepsWithUnCorrectMiRs_08_04_16`
(
  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"),
  ID STRING OPTIONS(description="One of 1870 unique miRNA ids (aka symbols) contained in this table, eg hsa-mir-21 -- relevant reference information can be found in the isb-cgc:genome_reference dataset in the tables miRBase_v20 and miRBase_v20_hsa_gff3"),
  miRNAexpr FLOAT64 OPTIONS(description="Normalized abundance (i.e., reads per million, RPM)"),
  Corrected STRING OPTIONS(description="Corrected and Uncorrected indicator that specify if the miRs were corrected by the EBN+ method. See more details at https://www.synapse.org/#!Synapse:syn6171109")
)
OPTIONS(
  friendly_name="PanCancer Filtered MicroRNA",
  description="Data loaded from the PanCancer Atlas initiative on the GDC in Aug 2016. Contains batch effects normalized miRNA data.  \n\nNote: This table was extracted from isb-cgc-bq:pancancer_atlas.Original_pancanMiRs_EBadjOnProtocolPlatformWithoutRepsWithUnCorrectMiRs_08_04_16. Data was annotated with ParticipantBarcode, SampleBarcode, AliquotBarcode, SampleTypeLetterCode, SampleType and TCGA Study.  \n\nMore details: https://gdc.cancer.gov/about-data/publications/pancanatlas BigQuery table: isb-cgc-bq:pancancer_atlas.Original_pancanMiRs_EBadjOnProtocolPlatformWithoutRepsWithUnCorrectMiRs_08_04_16",
  labels=[("category", "processed_-omics_data"), ("status", "current"), ("access", "open"), ("source_0", "gdc"), ("data_type", "mirna_expression"), ("program", "pancancer_atlas"), ("reference_genome", "hg19"), ("source_1", "literature")]
);

INSERT INTO `isb-cgc-bq.pancancer_atlas.Filtered_pancanMiRs_EBadjOnProtocolPlatformWithoutRepsWithUnCorrectMiRs_08_04_16` (ParticipantBarcode, SampleBarcode, AliquotBarcode, SampleTypeLetterCode, SampleType, Study, ID, miRNAexpr, Corrected) VALUES ('TCGA-06-0675', 'TCGA-06-0675-11A', 'TCGA-06-0675-11A-32R-A36C-13', 'NT', 'Solid Tissue Normal', 'GBM', 'hsa-miR-655-3p', 29.608492, 'Corrected'), ('TCGA-06-0675', 'TCGA-06-0675-11A', 'TCGA-06-0675-11A-32R-A36C-13', 'NT', 'Solid Tissue Normal', 'GBM', 'hsa-miR-139-5p', 4549.497868, 'Corrected'), ('TCGA-06-0675', 'TCGA-06-0675-11A', 'TCGA-06-0675-11A-32R-A36C-13', 'NT', 'Solid Tissue Normal', 'GBM', 'hsa-miR-202-5p', 0.255246, 'Corrected'), ('TCGA-06-0675', 'TCGA-06-0675-11A', 'TCGA-06-0675-11A-32R-A36C-13', 'NT', 'Solid Tissue Normal', 'GBM', 'hsa-miR-542-3p', 204.706984, 'Corrected'), ('TCGA-06-0675', 'TCGA-06-0675-11A', 'TCGA-06-0675-11A-32R-A36C-13', 'NT', 'Solid Tissue Normal', 'GBM', 'hsa-miR-98-3p', 1.276228, 'Corrected');