-- DBMS: bigquery
CREATE TABLE `isb-cgc.GDC_metadata.GDC_sync_obsolete_20190115`
(
  id STRING OPTIONS(description="File UUID"),
  file_name STRING OPTIONS(description="Name of file at the GDC"),
  md5 STRING OPTIONS(description="128-bit hash value expressed as a 32 digit hexadecimal number (in lower case) used as a file's digital fingerprint"),
  size INT64 OPTIONS(description="File size"),
  state STRING OPTIONS(description="File state -- either submitted or released"),
  project_id STRING OPTIONS(description="ID of the Project -- e.g. TCGA-BRCA, TARGET-AML, etc."),
  baseid STRING OPTIONS(description="UUID that all versions of the data (in other words, all GUIDs) point to"),
  version STRING OPTIONS(description="Data version"),
  release FLOAT64 OPTIONS(description="Associated GDC Release Number"),
  acl STRING OPTIONS(description="Access Control List -- if access is controlled, this field contains the dbGaP accession, eg phs000179"),
  type STRING OPTIONS(description="Description of the data, e.g. clinical_supplement, aligned_reads"),
  deletereason STRING OPTIONS(description="Reason for removal from the GDC"),
  url STRING OPTIONS(description="AWS file location")
)
OPTIONS(
  friendly_name="GDC SYNC OBSOLETE 20190115",
  description="Data was generated from file metadata information from obsolete data in the GDC as of January 2019.",
  labels=[("access", "open"), ("data_type", "file_metadata"), ("reference_genome_1", "hg38"), ("source", "gdc"), ("reference_genome_0", "hg19"), ("status", "current"), ("category", "metadata")]
);

INSERT INTO `isb-cgc.GDC_metadata.GDC_sync_obsolete_20190115` (id, file_name, md5, size, state, project_id, baseid, version, release, acl, type, deletereason, url) VALUES ('4b83a3b2-637d-4ad4-9c4a-e237aae3de33', 'nationwidechildrens.org_biospecimen_aliquot_ov.txt', '30fc8ff9e8e55a25fd8f9649f09fab50', 2630513, 'released', 'TCGA-OV', 'c048939c-e212-4f35-b7fb-fbea6fe88f3d', 'None', nan, '[u''open'']', 'legacy', 'redacted', 's3://s3-external-1.amazonaws.com/gdcbackup/4b83a3b2-637d-4ad4-9c4a-e237aae3de33'), ('f0fecb1a-ef4f-4479-82f7-552e7a15294a', '0658.CEL', '1a1b6999c740fc3e4e74fb2d22757349', 65971825, 'released', 'TCGA-GBM', '7021b430-d679-4942-b538-ecefc1c17e9b', 'None', nan, '[u''phs000178'']', 'legacy', 'redacted', 's3://s3-external-1.amazonaws.com/gdcbackup/f0fecb1a-ef4f-4479-82f7-552e7a15294a'), ('f6a682e0-2ad9-495b-889a-e3a0bebf4a33', '1310.CEL', 'c4d0dd80d8f75da0de74ff38270315ac', 66122049, 'released', 'TCGA-GBM', '1c8b6c64-fc94-40ca-980a-21fc47bc64e5', 'None', nan, '[u''phs000178'']', 'legacy', 'redacted', 's3://s3-external-1.amazonaws.com/gdcbackup/f6a682e0-2ad9-495b-889a-e3a0bebf4a33'), ('24a04c36-745a-4c61-97ba-28041be939af', 'README.txt', '034e6cbb14910515077cbebea434c207', 3393, 'released', 'TCGA-GBM', 'f77b5c03-6f39-4b0d-963e-783b0f6fa1c2', 'None', nan, '[u''open'']', 'legacy', 'redacted', 's3://s3-external-1.amazonaws.com/gdcbackup/24a04c36-745a-4c61-97ba-28041be939af'), ('fd8d79e7-d1bf-4f66-b1cd-bd0992d79b2a', 'README_DCC.txt', 'e12e143ce749fb0c8620e72c21ff9b37', 1641, 'released', 'TCGA-GBM', 'a012b079-544e-4e4a-a72a-89c5234d11ec', 'None', nan, '[u''open'']', 'legacy', 'redacted', 's3://s3-external-1.amazonaws.com/gdcbackup/fd8d79e7-d1bf-4f66-b1cd-bd0992d79b2a');