-- DBMS: bigquery
CREATE TABLE `isb-cgc-bq.targetome_versioned.interactions_v1`
(
  interactionID INT64 OPTIONS(description="ID for Targetome drug to target interaction"),
  drugID INT64 OPTIONS(description="ID of drug involved in interaction"),
  targetID INT64 OPTIONS(description="ID of target (e.g., protein, DNA, RNA) involved in interaction"),
  interactionType STRING OPTIONS(description="Type of Targetome interaction, e.g., Antagonist, Inhibition, etc."),
  drugName STRING OPTIONS(description="Name of the Targetome drug"),
  drug_approvalDate STRING OPTIONS(description="Date drug was approved for use"),
  drug_atcClassID STRING OPTIONS(description="Anatomical Therapeutic Chemical (ATC) drug classification ID"),
  drug_atcClassName STRING OPTIONS(description="Anatomical Therapeutic Chemical (ATC) drug classification name"),
  drug_atcClassStatus STRING OPTIONS(description="Anatomical Therapeutic Chemical (ATC) approval status"),
  drug_epcClassID STRING OPTIONS(description="FDA Established Pharmacologic Class (EPC) drug classification ID"),
  drug_epcClassName STRING OPTIONS(description="FDA Established Pharmacologic Class (EPC) drug classification name"),
  targetName STRING OPTIONS(description="Name of Targetome target"),
  targetType STRING OPTIONS(description="Type of Targetome target (e.g., protein, DNA, or RNA)"),
  target_uniprotID STRING OPTIONS(description="Uniprot ID of Targetome target"),
  targetSpecies STRING OPTIONS(description="Species of Targetome target"),
  sourceID INT64 OPTIONS(description="ID for source supporting Targetome interaction"),
  expID INT64 OPTIONS(description="ID for experimental evidence supporting Targetome interaction")
)
OPTIONS(
  friendly_name="TARGETOME INTERACTIONS V1 VERSIONED",
  description="Targetome interactions table linking drugs to targets, supported by experimental or literature evidence. This table is part of a database that aggregates drug-target interaction and bioactivity information for FDA-approved antineoplastic drugs across four publicly available resources. It includes putative target interactions encompassing multiple targets for each antineoplastic drug and introduces a framework for categorizing the supporting evidence behind each drug-target interaction. 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.interactions_v1` (interactionID, drugID, targetID, interactionType, drugName, drug_approvalDate, drug_atcClassID, drug_atcClassName, drug_atcClassStatus, drug_epcClassID, drug_epcClassName, targetName, targetType, target_uniprotID, targetSpecies, sourceID, expID) VALUES (77, 119, 40, 'Inhibition', 'Pamidronate Disodium', '1991-10-31', NULL, NULL, NULL, 'N0000175579', 'Bisphosphonate', 'FDPS', 'Protein', 'P14324', 'Homo sapiens', 139, 68), (77, 119, 40, 'Inhibition', 'Pamidronate Disodium', '1991-10-31', NULL, NULL, NULL, 'N0000175579', 'Bisphosphonate', 'FDPS', 'Protein', 'P14324', 'Homo sapiens', 277, 68), (77, 119, 40, 'Inhibition', 'Pamidronate Disodium', '1991-10-31', NULL, NULL, NULL, 'N0000175579', 'Bisphosphonate', 'FDPS', 'Protein', 'P14324', 'Homo sapiens', 278, 68), (77, 119, 40, 'Inhibition', 'Pamidronate Disodium', '1991-10-31', NULL, NULL, NULL, 'N0000175579', 'Bisphosphonate', 'FDPS', 'Protein', 'P14324', 'Homo sapiens', 279, 68), (77, 119, 40, 'Inhibition', 'Pamidronate Disodium', '1991-10-31', NULL, NULL, NULL, 'N0000175579', 'Bisphosphonate', 'FDPS', 'Protein', 'P14324', 'Homo sapiens', 280, 68);