-- DBMS: bigquery
CREATE TABLE `isb-cgc-bq.targetome_versioned.experiments_v1`
(
  expID INT64 OPTIONS(description="ID for experimental evidence supporting Targetome interactions"),
  exp_assayType STRING OPTIONS(description="Assay type used for experimental evidence"),
  exp_assayValueLow FLOAT64 OPTIONS(description="Low value for experimental assay"),
  exp_assayValueMedian FLOAT64 OPTIONS(description="Median value for experimental assay"),
  exp_assayValueHigh FLOAT64 OPTIONS(description="High value for experimental assay"),
  exp_assayUnits STRING OPTIONS(description="Units of measurement for experimental assay"),
  exp_assayRelation STRING OPTIONS(description="Relation of values for experimental assay"),
  exp_assayDescription STRING OPTIONS(description="Experimental assay description"),
  exp_assaySpecies STRING OPTIONS(description="Species used in experimental assay"),
  exp_parentSource STRING OPTIONS(description="Source from which experimental assay was obtained"),
  sourceID INT64 OPTIONS(description="ID for source of supporting Targetome evidence"),
  PubMedID STRING OPTIONS(description="PubMedID identifying literature"),
  databaseName STRING OPTIONS(description="Name of database from which supporting evidence and literature are obtained"),
  db_version STRING OPTIONS(description="Database version"),
  db_downloadURL STRING OPTIONS(description="URL from which database was downloaded"),
  db_downloadDate STRING OPTIONS(description="Date on which database was downloaded")
)
OPTIONS(
  friendly_name="TARGETOME EXPERIMENTAL EVIDENCE V1 VERSIONED",
  description="Targetome experimental evidence table, providing experimental support for Targetome interactions. More information can be found here: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5759325/. Data was downloaded from the Targetome Git repository (https://github.com/ablucher/The-Cancer-Targetome) in July 2021.",
  labels=[("access", "open"), ("data_type", "drug_target_interactions"), ("source", "targetome"), ("category", "reference_database"), ("status", "current")]
);

INSERT INTO `isb-cgc-bq.targetome_versioned.experiments_v1` (expID, exp_assayType, exp_assayValueLow, exp_assayValueMedian, exp_assayValueHigh, exp_assayUnits, exp_assayRelation, exp_assayDescription, exp_assaySpecies, exp_parentSource, sourceID, PubMedID, databaseName, db_version, db_downloadURL, db_downloadDate) VALUES (342, NULL, nan, nan, nan, 'nM', '=', NULL, NULL, 'Curated from the literature by BindingDB', 1027, '18370373', 'BindingDB', '2016_m6', 'https://www.bindingdb.org/bind/chemsearch/marvin/SDFdownload.jsp?all_download=yes', '07.03.2016'), (348, NULL, nan, nan, nan, 'nM', '=', NULL, NULL, 'Curated from the literature by BindingDB', 1028, '18308563', 'BindingDB', '2016_m6', 'https://www.bindingdb.org/bind/chemsearch/marvin/SDFdownload.jsp?all_download=yes', '07.03.2016'), (349, NULL, nan, nan, nan, 'nM', '=', NULL, NULL, 'Curated from the literature by BindingDB', 1028, '18308563', 'BindingDB', '2016_m6', 'https://www.bindingdb.org/bind/chemsearch/marvin/SDFdownload.jsp?all_download=yes', '07.03.2016'), (3873, 'KD', nan, 1.0, nan, 'nM', '<', NULL, NULL, 'ChEMBL', 1346, '15081026', 'BindingDB', '2016_m6', 'https://www.bindingdb.org/bind/chemsearch/marvin/SDFdownload.jsp?all_download=yes', '07.03.2016'), (358, 'KD', nan, 53.5, nan, 'nM', '=', NULL, NULL, 'Curated from the literature by BindingDB', 1032, '17349580', 'BindingDB', '2016_m6', 'https://www.bindingdb.org/bind/chemsearch/marvin/SDFdownload.jsp?all_download=yes', '07.03.2016');