SMILES Enrichment and embedding over PrimeKG using NIM/MOLMIM¶
In this tutorial, we will explain an example to perform smiles enrichment using NIM/MOLMIM for drug nodes in PrimeKG.
First of all, we need to import necessary libraries as follows:
# Import necessary libraries
import sys
sys.path.append('../../..')
from aiagents4pharma.talk2knowledgegraphs.datasets.primekg import PrimeKG
from aiagents4pharma.talk2knowledgegraphs.utils import pubchem_utils
from aiagents4pharma.talk2knowledgegraphs.utils.enrichments import pubchem_strings
from aiagents4pharma.talk2knowledgegraphs.utils.embeddings import nim_molmim
# Set the logging level for httpx to WARNING to suppress INFO messages
import logging
logging.getLogger("httpx").setLevel(logging.WARNING)
Load PrimeKG¶
To load PrimeKG dataset, we can utilize the PrimeKG
class from the aiagents4pharma/talk2knowledgegraphs library.
The PrimeKG
needs to be initialized with the path to the PrimeKG dataset to be stored/loaded from the local directory.
# Define primekg data by providing a local directory where the data is stored
primekg_data = PrimeKG(local_dir="../../../../data/primekg/")
# Invoke a method to load the data
primekg_data.load_data()
# Get primekg_nodes and primekg_edges
primekg_nodes = primekg_data.get_nodes()
primekg_edges = primekg_data.get_edges()
Loading nodes of PrimeKG dataset ... ../../../../data/primekg/primekg_nodes.tsv.gz already exists. Loading the data from the local directory. Loading edges of PrimeKG dataset ... ../../../../data/primekg/primekg_edges.tsv.gz already exists. Loading the data from the local directory.
Dataclass to store drug data¶
from dataclasses import dataclass
@dataclass
class DrugData:
name: str
drugbank_id: str
pubchem_cid: str = None
smiles: str = None
embed_smiles: list = None
dic_drug_data = {}
Load drug data in PrimeKG into the dic
from tqdm import tqdm
# Iterate over the primekg nodes with node_source as 'DrugBank'
for index, row in tqdm(primekg_nodes[primekg_nodes['node_source'] == 'DrugBank'].iterrows(), total=primekg_nodes[primekg_nodes['node_source'] == 'DrugBank'].shape[0]):
if row['node_source'] == 'DrugBank' and not row['node_name'].endswith('mab'):
drug_name = row['node_name']
drugbank_id = row['node_id']
drug_data = DrugData(name=drug_name, drugbank_id=drugbank_id)
dic_drug_data[drugbank_id] = drug_data
# Print the number of drug names mapped to DrugBank IDs
print(f"Number of drugs mapped to DrugBank IDs: {len(dic_drug_data)}")
0%| | 0/7957 [00:00<?, ?it/s]
100%|██████████| 7957/7957 [00:00<00:00, 40758.60it/s]
Number of drugs mapped to DrugBank IDs: 7715
SMILES enrichment over drug data using PubChemPy¶
Since the drug id in PrimeKG are provided as DrugBank ID, we will convert them into their corresponding PubChemID, and use it to extract their SMILES strings representation.
NOTE: Comment the count
variable if you want to get SMILES representation of all the drugs
enrichment = pubchem_strings.EnrichmentWithPubChem()
# Get their SMILES strings
for count, (drugbank_id, drug_data) in enumerate(dic_drug_data.items()):
# Get PubChem CID from DrugBank ID using pubchem_utils method
dic_drug_data[drugbank_id].pubchem_id = pubchem_utils.drugbank_id2pubchem_cid(drugbank_id)
print (f"DrugBank ID: {drugbank_id}, PubChem CID: {dic_drug_data[drugbank_id].pubchem_id}")
# Get SMILES from PubChem CID using enrichment method
if dic_drug_data[drugbank_id].pubchem_id:
smiles = enrichment.enrich_documents([dic_drug_data[drugbank_id].pubchem_id])
dic_drug_data[drugbank_id].smiles = smiles[0]
print (f"DrugBank ID: {drugbank_id}, SMILES: {smiles[0]}")
# Delete the counter to get all the SMILES
if count == 2:
break
DrugBank ID: DB09130, PubChem CID: 23978 DrugBank ID: DB09130, SMILES: [Cu] DrugBank ID: DB09140, PubChem CID: 977 DrugBank ID: DB09140, SMILES: O=O DrugBank ID: DB00180, PubChem CID: 82153 DrugBank ID: DB00180, SMILES: C[C@]12C[C@@H]([C@H]3[C@H]([C@@H]1C[C@@H]4[C@]2(OC(O4)(C)C)C(=O)CO)C[C@@H](C5=CC(=O)C=C[C@]35C)F)O
Embedding SMILES strings using NVIDIA's optimized MOLMIM¶
We will use the EmbeddingWithMOLMIM
class to get the embeddings.
This class requires base_url
value at the time of initialization. You must have NIM/MOLMIM running locally or on a remote machine.
# Load all the SMILES strings into a list
smiles_list = []
for drugbank_id in sorted(dic_drug_data.keys()):
# Check if the SMILES string is not None
if dic_drug_data[drugbank_id].smiles:
smiles_list.append(drug_data.smiles)
# Embed the SMILES strings
# Define the base URL for the embedding service
base_url = "http://localhost:8000/embedding"
embedding = nim_molmim.EmbeddingWithMOLMIM(base_url=base_url)
smiles_embedding = embedding.embed_documents(smiles_list)
counter = 0
for drugbank_id in sorted(dic_drug_data.keys()):
# Check if the SMILES string is not None
if dic_drug_data[drugbank_id].smiles:
dic_drug_data[drugbank_id].embed_smiles = smiles_embedding[counter]
print (f"DrugBank ID: {drugbank_id}, SMILES: {dic_drug_data[drugbank_id].smiles}, Embedding: {dic_drug_data[drugbank_id].embed_smiles}")
counter += 1
DrugBank ID: DB00180, SMILES: C[C@]12C[C@@H]([C@H]3[C@H]([C@@H]1C[C@@H]4[C@]2(OC(O4)(C)C)C(=O)CO)C[C@@H](C5=CC(=O)C=C[C@]35C)F)O, Embedding: [-0.1204390674829483, -0.1940891444683075, -0.4339446425437927, -0.2996540367603302, -0.729110836982727, -0.8603639006614685, 0.1087680459022522, -0.7364030480384827, 0.3626856505870819, -1.1047277450561523, 0.2942107021808624, 0.28778666257858276, 0.37707236409187317, 0.44420892000198364, 0.7568902373313904, -0.3640008270740509, 0.1164623573422432, -1.0804017782211304, 0.21842145919799805, -1.0145331621170044, -0.4529482424259186, 0.29504555463790894, 1.0504405498504639, 0.4566451907157898, 0.17165839672088623, -0.09387531131505966, -0.8585189580917358, -0.09521356970071793, -0.2553885281085968, 0.017894838005304337, -0.04478992521762848, 0.15266816318035126, 0.6867157220840454, 0.04769552871584892, -0.4582587480545044, 0.3558366596698761, 0.7061216831207275, -0.10821279883384705, -0.3186778128147125, 0.4906691610813141, 0.6112119555473328, -0.8078905940055847, 0.33500564098358154, -0.3259132206439972, -0.5301479697227478, -0.2502729296684265, -0.03700749948620796, 0.28085994720458984, 0.08454953134059906, 0.07756083458662033, 0.011709029786288738, -0.44987964630126953, -0.03085518255829811, -0.5512903332710266, -0.20549838244915009, -0.5614188313484192, -0.02355971559882164, 0.20149384438991547, 0.7532463073730469, -0.19773735105991364, 1.0353444814682007, 0.78106689453125, -0.04165671765804291, -0.2009841501712799, -0.09010482579469681, 0.2187405824661255, 0.37740686535835266, -0.3241004943847656, 0.24696114659309387, 0.19045476615428925, -0.34338605403900146, -0.7004992365837097, -0.20569056272506714, 0.21842308342456818, 0.4555888772010803, 1.0606369972229004, 0.29113489389419556, -0.2625555992126465, -0.4449382424354553, 0.8759056925773621, -0.85602205991745, -0.4288330376148224, -0.05914260819554329, 0.44522419571876526, -0.4058569371700287, 0.14368347823619843, -0.38002726435661316, -0.1250121295452118, -0.47940942645072937, 0.47114697098731995, 0.07987310737371445, 0.4399529993534088, 0.41501760482788086, 0.1807878464460373, 0.1608443707227707, 0.3727725148200989, 0.24147740006446838, -0.1563044637441635, -0.40300124883651733, -0.6040470600128174, -0.32777711749076843, -0.21906821429729462, 0.1222759261727333, -0.5862665176391602, -0.9164258241653442, -0.8755032420158386, -0.5537432432174683, 0.1574476808309555, -0.5618619918823242, 0.7110776901245117, 0.8765247464179993, -0.2868020832538605, 0.7440568804740906, -0.8163996338844299, 0.3122059106826782, -1.0255553722381592, 1.0919103622436523, -0.5653969049453735, -0.5515004992485046, 0.3973618149757385, 0.29634883999824524, -0.15095840394496918, -0.48152634501457214, -0.9261638522148132, 0.062175773084163666, -0.03123127482831478, -0.37775447964668274, -0.11748749762773514, 0.47666919231414795, 0.7699310183525085, -0.23800985515117645, 0.7262177467346191, -0.19640614092350006, -0.07583809643983841, 0.1527402251958847, -0.8029037714004517, -0.6630846261978149, -0.8505133390426636, -0.09899038076400757, -0.29048532247543335, -0.012702899053692818, 0.2831880748271942, 0.23013822734355927, -0.10976957529783249, -0.02024230547249317, -0.703525722026825, -0.4801369309425354, -0.2858305871486664, 0.0603334866464138, 0.7858633995056152, 0.13431811332702637, -1.0251715183258057, -0.3879939615726471, -0.3671081066131592, -0.5658736824989319, 0.4623962640762329, 0.03513060510158539, -0.10529927909374237, 0.8762152791023254, -0.2989029884338379, 0.11799027025699615, 2.227898120880127, -0.357166588306427, 0.33148860931396484, 0.19529934227466583, -0.048328954726457596, 0.49180445075035095, -0.5693387985229492, 0.016638536006212234, -0.7452778220176697, -0.2549256384372711, 0.6755703687667847, 0.258420467376709, -0.17939253151416779, -0.05058930069208145, 0.45171061158180237, 0.055934786796569824, 0.006142065394669771, -0.15117201209068298, 0.07341393828392029, -0.41688403487205505, -0.40168866515159607, 0.2652835547924042, -0.22332504391670227, 0.316091388463974, -0.4933326244354248, 0.44449183344841003, 0.420316219329834, 0.260332852602005, 0.5813590884208679, 0.1356811374425888, 0.267773300409317, 0.3121803104877472, 0.06948135048151016, -1.0074126720428467, -1.100559115409851, 0.30966630578041077, -0.22347111999988556, 0.6184881925582886, 0.3139994144439697, 0.23895706236362457, 0.10197871178388596, -0.10567183047533035, -0.7050249576568604, -0.2808386981487274, -0.6095371246337891, 0.6328479051589966, -0.12060777097940445, 0.021188829094171524, 0.8731770515441895, -0.08300521224737167, -0.10766113549470901, 0.5676671862602234, 0.06598953902721405, -0.5374905467033386, 0.38794541358947754, -0.24236276745796204, -0.1161811426281929, -0.1239958107471466, 0.4639080762863159, -0.14350366592407227, 0.056015051901340485, 0.9155001044273376, 0.1765032857656479, -0.28909340500831604, -0.3864910304546356, 0.2081429809331894, 0.7861654162406921, -0.15217211842536926, 0.3930499851703644, 0.14228396117687225, -0.3632277846336365, -0.3990079462528229, 0.18125341832637787, 0.06247596815228462, 0.15892060101032257, -0.3401426374912262, -0.17657947540283203, 0.07577727735042572, 0.18061234056949615, 0.2531052529811859, 1.5154341459274292, -0.4544030427932739, -0.13986612856388092, -0.07412326335906982, 0.6693333387374878, -0.042169421911239624, -0.46958640217781067, -0.27901554107666016, 0.5321796536445618, -0.4692264199256897, -0.4114043116569519, 0.38162824511528015, -0.93715500831604, 1.0309107303619385, 0.14621612429618835, 0.4447453022003174, 0.217697411775589, -0.8767470717430115, -0.15246188640594482, 0.6976339817047119, -0.17647816240787506, 0.09076801687479019, -0.06844702363014221, 0.03223332017660141, 0.04374928027391434, -0.2081589698791504, 0.378216415643692, -0.6528845429420471, 0.029047662392258644, -0.049805350601673126, 0.4580797255039215, -1.119673728942871, 0.8975709676742554, -0.5532205700874329, -0.24233153462409973, -1.107792854309082, -0.7476813793182373, 0.40296220779418945, 0.7032638192176819, -0.5901340246200562, -1.078020453453064, 1.2083872556686401, -0.6103677153587341, 0.7784596681594849, 0.49780163168907166, 0.6248258948326111, -0.236446812748909, 0.3913499414920807, -0.17385375499725342, 0.06333421170711517, 0.2804882526397705, 0.22127053141593933, -0.04739471152424812, 0.3758606016635895, -0.3757820725440979, -0.1053217202425003, -0.33873996138572693, 0.19194558262825012, 0.8951087594032288, -0.3638402819633484, 0.32297420501708984, -0.010700436308979988, 1.4024783372879028, -0.2606823146343231, -0.11858341097831726, 0.22665227949619293, -0.0913984477519989, 1.5660219192504883, -0.261936217546463, 0.748155415058136, -0.1399516612291336, 0.24181947112083435, 0.4345501661300659, 1.0384327173233032, 0.1288284957408905, -0.8270719051361084, -0.7359123826026917, 0.476640909910202, 0.20670704543590546, -0.4614920914173126, 0.11645469814538956, -0.49055784940719604, -0.22601060569286346, 0.10438506305217743, -0.3408496081829071, -1.4871561527252197, -0.08122280240058899, 0.2893138527870178, 0.2227565199136734, 1.333961844444275, -0.31338775157928467, -0.17909063398838043, -0.4820679724216461, 0.20344272255897522, -0.005183930974453688, -0.5058783888816833, -0.27851468324661255, 0.8013932108879089, 0.4321334660053253, -0.6010423898696899, 0.5391448736190796, -0.3248956799507141, 0.6914467811584473, -0.15834078192710876, -0.2684096395969391, 0.14705106616020203, 0.19002212584018707, -0.23586790263652802, 0.032969437539577484, -0.06316656619310379, -0.10282652080059052, 0.38663196563720703, 0.2570110857486725, -0.4536575973033905, 0.019194116815924644, -0.5429511070251465, 0.25443702936172485, 0.8824930787086487, -0.14846795797348022, 0.3491963744163513, -0.40698447823524475, 0.19710563123226166, -1.2790770530700684, 1.018599271774292, 0.3545311391353607, -0.15763019025325775, 0.28919702768325806, 0.4402981102466583, -0.641800582408905, 0.14405423402786255, 0.22524893283843994, -0.14035989344120026, -0.746666669845581, 0.45044004917144775, -0.1095479279756546, 0.7740171551704407, -0.1652923971414566, 0.25532782077789307, -0.43285390734672546, 0.11475349217653275, -0.7880234122276306, 0.294610857963562, 0.2147015929222107, -0.022397935390472412, 0.16798090934753418, 0.16135607659816742, 0.3475867211818695, -0.03016907162964344, -0.7226690649986267, -0.09871631860733032, 0.08678697794675827, -0.44338226318359375, -0.054573819041252136, -0.32722312211990356, 0.12846921384334564, -0.18963009119033813, -0.3168334662914276, 0.08547770231962204, 0.005575656425207853, -1.0574387311935425, 0.05997848138213158, -0.23483046889305115, 1.2849938869476318, 0.29787686467170715, -0.39466583728790283, 0.5562602281570435, -0.9281078577041626, -1.010096788406372, -0.4164986312389374, 0.07353300601243973, -0.32880252599716187, -0.8860880136489868, -0.20020867884159088, 1.1972874402999878, 0.5473116636276245, -0.9847586154937744, -0.3760639429092407, 0.2501332759857178, -0.3909865617752075, 0.6584545969963074, 0.5686430931091309, 0.5746059417724609, 0.28990668058395386, -0.1113354042172432, 0.47843143343925476, 0.21139122545719147, 0.3801364302635193, -1.5257906913757324, -0.9995301365852356, -0.5490192770957947, 0.06472265720367432, 0.13856621086597443, -0.17641671001911163, 0.9467294216156006, -0.08036398887634277, -0.7716253399848938, 0.2772044539451599, 0.48092472553253174, 0.8069848418235779, -0.20063632726669312, 0.16212095320224762, 0.07693638652563095, -0.20188534259796143, -0.5370257496833801, -0.4599892199039459, 0.8743157982826233, 0.24264118075370789, 0.24562178552150726, 0.6317737698554993, -0.4981004595756531, -1.6990948915481567, 0.14714720845222473, 0.01697617396712303, 0.16304178535938263, 0.1869020015001297, -0.4538171589374542, 0.21503351628780365, -0.34397396445274353, 0.33116427063941956, 0.43331196904182434, 0.13894738256931305, 0.05604496970772743, -0.28943854570388794, -0.1380760222673416, 0.468880295753479, 0.2150450497865677, -0.3856009244918823, 0.2326299548149109, 0.3372137248516083, -0.47025007009506226, 0.40367624163627625, -0.23834243416786194, -0.4693015217781067, -0.3164850175380707, 0.5237011313438416, 0.4483165144920349, -0.6224474906921387, 0.42190900444984436, 0.33221435546875, 1.1268198490142822, -0.355488121509552, -0.447683721780777, -0.08913871645927429, -1.060018539428711, -0.9416125416755676, 0.17135842144489288, 0.12793006002902985, -1.3291829824447632, -0.46167489886283875, 0.16547968983650208, 0.43812742829322815, 0.716885507106781, -1.1891964673995972, 0.8175938725471497, 0.04425714537501335, 0.35121434926986694, -0.41160646080970764, 0.5517670512199402, 0.02946912683546543, 0.06025032326579094, -0.21602468192577362, 0.4613884389400482, -0.3829425275325775, -0.11467232555150986, -0.26877379417419434, -0.31744828820228577, -0.1255166083574295, -0.12699128687381744, 0.23751161992549896, -0.1743544489145279, -0.48217642307281494] DrugBank ID: DB09130, SMILES: [Cu], Embedding: [-0.1204390674829483, -0.1940891444683075, -0.4339446425437927, -0.2996540367603302, -0.729110836982727, -0.8603639006614685, 0.1087680459022522, -0.7364030480384827, 0.3626856505870819, -1.1047277450561523, 0.2942107021808624, 0.28778666257858276, 0.37707236409187317, 0.44420892000198364, 0.7568902373313904, -0.3640008270740509, 0.1164623573422432, -1.0804017782211304, 0.21842145919799805, -1.0145331621170044, -0.4529482424259186, 0.29504555463790894, 1.0504405498504639, 0.4566451907157898, 0.17165839672088623, -0.09387531131505966, -0.8585189580917358, -0.09521356970071793, -0.2553885281085968, 0.017894838005304337, -0.04478992521762848, 0.15266816318035126, 0.6867157220840454, 0.04769552871584892, -0.4582587480545044, 0.3558366596698761, 0.7061216831207275, -0.10821279883384705, -0.3186778128147125, 0.4906691610813141, 0.6112119555473328, -0.8078905940055847, 0.33500564098358154, -0.3259132206439972, -0.5301479697227478, -0.2502729296684265, -0.03700749948620796, 0.28085994720458984, 0.08454953134059906, 0.07756083458662033, 0.011709029786288738, -0.44987964630126953, -0.03085518255829811, -0.5512903332710266, -0.20549838244915009, -0.5614188313484192, -0.02355971559882164, 0.20149384438991547, 0.7532463073730469, -0.19773735105991364, 1.0353444814682007, 0.78106689453125, -0.04165671765804291, -0.2009841501712799, -0.09010482579469681, 0.2187405824661255, 0.37740686535835266, -0.3241004943847656, 0.24696114659309387, 0.19045476615428925, -0.34338605403900146, -0.7004992365837097, -0.20569056272506714, 0.21842308342456818, 0.4555888772010803, 1.0606369972229004, 0.29113489389419556, -0.2625555992126465, -0.4449382424354553, 0.8759056925773621, -0.85602205991745, -0.4288330376148224, -0.05914260819554329, 0.44522419571876526, -0.4058569371700287, 0.14368347823619843, -0.38002726435661316, -0.1250121295452118, -0.47940942645072937, 0.47114697098731995, 0.07987310737371445, 0.4399529993534088, 0.41501760482788086, 0.1807878464460373, 0.1608443707227707, 0.3727725148200989, 0.24147740006446838, -0.1563044637441635, -0.40300124883651733, -0.6040470600128174, -0.32777711749076843, -0.21906821429729462, 0.1222759261727333, -0.5862665176391602, -0.9164258241653442, -0.8755032420158386, -0.5537432432174683, 0.1574476808309555, -0.5618619918823242, 0.7110776901245117, 0.8765247464179993, -0.2868020832538605, 0.7440568804740906, -0.8163996338844299, 0.3122059106826782, -1.0255553722381592, 1.0919103622436523, -0.5653969049453735, -0.5515004992485046, 0.3973618149757385, 0.29634883999824524, -0.15095840394496918, -0.48152634501457214, -0.9261638522148132, 0.062175773084163666, -0.03123127482831478, -0.37775447964668274, -0.11748749762773514, 0.47666919231414795, 0.7699310183525085, -0.23800985515117645, 0.7262177467346191, -0.19640614092350006, -0.07583809643983841, 0.1527402251958847, -0.8029037714004517, -0.6630846261978149, -0.8505133390426636, -0.09899038076400757, -0.29048532247543335, -0.012702899053692818, 0.2831880748271942, 0.23013822734355927, -0.10976957529783249, -0.02024230547249317, -0.703525722026825, -0.4801369309425354, -0.2858305871486664, 0.0603334866464138, 0.7858633995056152, 0.13431811332702637, -1.0251715183258057, -0.3879939615726471, -0.3671081066131592, -0.5658736824989319, 0.4623962640762329, 0.03513060510158539, -0.10529927909374237, 0.8762152791023254, -0.2989029884338379, 0.11799027025699615, 2.227898120880127, -0.357166588306427, 0.33148860931396484, 0.19529934227466583, -0.048328954726457596, 0.49180445075035095, -0.5693387985229492, 0.016638536006212234, -0.7452778220176697, -0.2549256384372711, 0.6755703687667847, 0.258420467376709, -0.17939253151416779, -0.05058930069208145, 0.45171061158180237, 0.055934786796569824, 0.006142065394669771, -0.15117201209068298, 0.07341393828392029, -0.41688403487205505, -0.40168866515159607, 0.2652835547924042, -0.22332504391670227, 0.316091388463974, -0.4933326244354248, 0.44449183344841003, 0.420316219329834, 0.260332852602005, 0.5813590884208679, 0.1356811374425888, 0.267773300409317, 0.3121803104877472, 0.06948135048151016, -1.0074126720428467, -1.100559115409851, 0.30966630578041077, -0.22347111999988556, 0.6184881925582886, 0.3139994144439697, 0.23895706236362457, 0.10197871178388596, -0.10567183047533035, -0.7050249576568604, -0.2808386981487274, -0.6095371246337891, 0.6328479051589966, -0.12060777097940445, 0.021188829094171524, 0.8731770515441895, -0.08300521224737167, -0.10766113549470901, 0.5676671862602234, 0.06598953902721405, -0.5374905467033386, 0.38794541358947754, -0.24236276745796204, -0.1161811426281929, -0.1239958107471466, 0.4639080762863159, -0.14350366592407227, 0.056015051901340485, 0.9155001044273376, 0.1765032857656479, -0.28909340500831604, -0.3864910304546356, 0.2081429809331894, 0.7861654162406921, -0.15217211842536926, 0.3930499851703644, 0.14228396117687225, -0.3632277846336365, -0.3990079462528229, 0.18125341832637787, 0.06247596815228462, 0.15892060101032257, -0.3401426374912262, -0.17657947540283203, 0.07577727735042572, 0.18061234056949615, 0.2531052529811859, 1.5154341459274292, -0.4544030427932739, -0.13986612856388092, -0.07412326335906982, 0.6693333387374878, -0.042169421911239624, -0.46958640217781067, -0.27901554107666016, 0.5321796536445618, -0.4692264199256897, -0.4114043116569519, 0.38162824511528015, -0.93715500831604, 1.0309107303619385, 0.14621612429618835, 0.4447453022003174, 0.217697411775589, -0.8767470717430115, -0.15246188640594482, 0.6976339817047119, -0.17647816240787506, 0.09076801687479019, -0.06844702363014221, 0.03223332017660141, 0.04374928027391434, -0.2081589698791504, 0.378216415643692, -0.6528845429420471, 0.029047662392258644, -0.049805350601673126, 0.4580797255039215, -1.119673728942871, 0.8975709676742554, -0.5532205700874329, -0.24233153462409973, -1.107792854309082, -0.7476813793182373, 0.40296220779418945, 0.7032638192176819, -0.5901340246200562, -1.078020453453064, 1.2083872556686401, -0.6103677153587341, 0.7784596681594849, 0.49780163168907166, 0.6248258948326111, -0.236446812748909, 0.3913499414920807, -0.17385375499725342, 0.06333421170711517, 0.2804882526397705, 0.22127053141593933, -0.04739471152424812, 0.3758606016635895, -0.3757820725440979, -0.1053217202425003, -0.33873996138572693, 0.19194558262825012, 0.8951087594032288, -0.3638402819633484, 0.32297420501708984, -0.010700436308979988, 1.4024783372879028, -0.2606823146343231, -0.11858341097831726, 0.22665227949619293, -0.0913984477519989, 1.5660219192504883, -0.261936217546463, 0.748155415058136, -0.1399516612291336, 0.24181947112083435, 0.4345501661300659, 1.0384327173233032, 0.1288284957408905, -0.8270719051361084, -0.7359123826026917, 0.476640909910202, 0.20670704543590546, -0.4614920914173126, 0.11645469814538956, -0.49055784940719604, -0.22601060569286346, 0.10438506305217743, -0.3408496081829071, -1.4871561527252197, -0.08122280240058899, 0.2893138527870178, 0.2227565199136734, 1.333961844444275, -0.31338775157928467, -0.17909063398838043, -0.4820679724216461, 0.20344272255897522, -0.005183930974453688, -0.5058783888816833, -0.27851468324661255, 0.8013932108879089, 0.4321334660053253, -0.6010423898696899, 0.5391448736190796, -0.3248956799507141, 0.6914467811584473, -0.15834078192710876, -0.2684096395969391, 0.14705106616020203, 0.19002212584018707, -0.23586790263652802, 0.032969437539577484, -0.06316656619310379, -0.10282652080059052, 0.38663196563720703, 0.2570110857486725, -0.4536575973033905, 0.019194116815924644, -0.5429511070251465, 0.25443702936172485, 0.8824930787086487, -0.14846795797348022, 0.3491963744163513, -0.40698447823524475, 0.19710563123226166, -1.2790770530700684, 1.018599271774292, 0.3545311391353607, -0.15763019025325775, 0.28919702768325806, 0.4402981102466583, -0.641800582408905, 0.14405423402786255, 0.22524893283843994, -0.14035989344120026, -0.746666669845581, 0.45044004917144775, -0.1095479279756546, 0.7740171551704407, -0.1652923971414566, 0.25532782077789307, -0.43285390734672546, 0.11475349217653275, -0.7880234122276306, 0.294610857963562, 0.2147015929222107, -0.022397935390472412, 0.16798090934753418, 0.16135607659816742, 0.3475867211818695, -0.03016907162964344, -0.7226690649986267, -0.09871631860733032, 0.08678697794675827, -0.44338226318359375, -0.054573819041252136, -0.32722312211990356, 0.12846921384334564, -0.18963009119033813, -0.3168334662914276, 0.08547770231962204, 0.005575656425207853, -1.0574387311935425, 0.05997848138213158, -0.23483046889305115, 1.2849938869476318, 0.29787686467170715, -0.39466583728790283, 0.5562602281570435, -0.9281078577041626, -1.010096788406372, -0.4164986312389374, 0.07353300601243973, -0.32880252599716187, -0.8860880136489868, -0.20020867884159088, 1.1972874402999878, 0.5473116636276245, -0.9847586154937744, -0.3760639429092407, 0.2501332759857178, -0.3909865617752075, 0.6584545969963074, 0.5686430931091309, 0.5746059417724609, 0.28990668058395386, -0.1113354042172432, 0.47843143343925476, 0.21139122545719147, 0.3801364302635193, -1.5257906913757324, -0.9995301365852356, -0.5490192770957947, 0.06472265720367432, 0.13856621086597443, -0.17641671001911163, 0.9467294216156006, -0.08036398887634277, -0.7716253399848938, 0.2772044539451599, 0.48092472553253174, 0.8069848418235779, -0.20063632726669312, 0.16212095320224762, 0.07693638652563095, -0.20188534259796143, -0.5370257496833801, -0.4599892199039459, 0.8743157982826233, 0.24264118075370789, 0.24562178552150726, 0.6317737698554993, -0.4981004595756531, -1.6990948915481567, 0.14714720845222473, 0.01697617396712303, 0.16304178535938263, 0.1869020015001297, -0.4538171589374542, 0.21503351628780365, -0.34397396445274353, 0.33116427063941956, 0.43331196904182434, 0.13894738256931305, 0.05604496970772743, -0.28943854570388794, -0.1380760222673416, 0.468880295753479, 0.2150450497865677, -0.3856009244918823, 0.2326299548149109, 0.3372137248516083, -0.47025007009506226, 0.40367624163627625, -0.23834243416786194, -0.4693015217781067, -0.3164850175380707, 0.5237011313438416, 0.4483165144920349, -0.6224474906921387, 0.42190900444984436, 0.33221435546875, 1.1268198490142822, -0.355488121509552, -0.447683721780777, -0.08913871645927429, -1.060018539428711, -0.9416125416755676, 0.17135842144489288, 0.12793006002902985, -1.3291829824447632, -0.46167489886283875, 0.16547968983650208, 0.43812742829322815, 0.716885507106781, -1.1891964673995972, 0.8175938725471497, 0.04425714537501335, 0.35121434926986694, -0.41160646080970764, 0.5517670512199402, 0.02946912683546543, 0.06025032326579094, -0.21602468192577362, 0.4613884389400482, -0.3829425275325775, -0.11467232555150986, -0.26877379417419434, -0.31744828820228577, -0.1255166083574295, -0.12699128687381744, 0.23751161992549896, -0.1743544489145279, -0.48217642307281494] DrugBank ID: DB09140, SMILES: O=O, Embedding: [-0.1204390674829483, -0.1940891444683075, -0.4339446425437927, -0.2996540367603302, -0.729110836982727, -0.8603639006614685, 0.1087680459022522, -0.7364030480384827, 0.3626856505870819, -1.1047277450561523, 0.2942107021808624, 0.28778666257858276, 0.37707236409187317, 0.44420892000198364, 0.7568902373313904, -0.3640008270740509, 0.1164623573422432, -1.0804017782211304, 0.21842145919799805, -1.0145331621170044, -0.4529482424259186, 0.29504555463790894, 1.0504405498504639, 0.4566451907157898, 0.17165839672088623, -0.09387531131505966, -0.8585189580917358, -0.09521356970071793, -0.2553885281085968, 0.017894838005304337, -0.04478992521762848, 0.15266816318035126, 0.6867157220840454, 0.04769552871584892, -0.4582587480545044, 0.3558366596698761, 0.7061216831207275, -0.10821279883384705, -0.3186778128147125, 0.4906691610813141, 0.6112119555473328, -0.8078905940055847, 0.33500564098358154, -0.3259132206439972, -0.5301479697227478, -0.2502729296684265, -0.03700749948620796, 0.28085994720458984, 0.08454953134059906, 0.07756083458662033, 0.011709029786288738, -0.44987964630126953, -0.03085518255829811, -0.5512903332710266, -0.20549838244915009, -0.5614188313484192, -0.02355971559882164, 0.20149384438991547, 0.7532463073730469, -0.19773735105991364, 1.0353444814682007, 0.78106689453125, -0.04165671765804291, -0.2009841501712799, -0.09010482579469681, 0.2187405824661255, 0.37740686535835266, -0.3241004943847656, 0.24696114659309387, 0.19045476615428925, -0.34338605403900146, -0.7004992365837097, -0.20569056272506714, 0.21842308342456818, 0.4555888772010803, 1.0606369972229004, 0.29113489389419556, -0.2625555992126465, -0.4449382424354553, 0.8759056925773621, -0.85602205991745, -0.4288330376148224, -0.05914260819554329, 0.44522419571876526, -0.4058569371700287, 0.14368347823619843, -0.38002726435661316, -0.1250121295452118, -0.47940942645072937, 0.47114697098731995, 0.07987310737371445, 0.4399529993534088, 0.41501760482788086, 0.1807878464460373, 0.1608443707227707, 0.3727725148200989, 0.24147740006446838, -0.1563044637441635, -0.40300124883651733, -0.6040470600128174, -0.32777711749076843, -0.21906821429729462, 0.1222759261727333, -0.5862665176391602, -0.9164258241653442, -0.8755032420158386, -0.5537432432174683, 0.1574476808309555, -0.5618619918823242, 0.7110776901245117, 0.8765247464179993, -0.2868020832538605, 0.7440568804740906, -0.8163996338844299, 0.3122059106826782, -1.0255553722381592, 1.0919103622436523, -0.5653969049453735, -0.5515004992485046, 0.3973618149757385, 0.29634883999824524, -0.15095840394496918, -0.48152634501457214, -0.9261638522148132, 0.062175773084163666, -0.03123127482831478, -0.37775447964668274, -0.11748749762773514, 0.47666919231414795, 0.7699310183525085, -0.23800985515117645, 0.7262177467346191, -0.19640614092350006, -0.07583809643983841, 0.1527402251958847, -0.8029037714004517, -0.6630846261978149, -0.8505133390426636, -0.09899038076400757, -0.29048532247543335, -0.012702899053692818, 0.2831880748271942, 0.23013822734355927, -0.10976957529783249, -0.02024230547249317, -0.703525722026825, -0.4801369309425354, -0.2858305871486664, 0.0603334866464138, 0.7858633995056152, 0.13431811332702637, -1.0251715183258057, -0.3879939615726471, -0.3671081066131592, -0.5658736824989319, 0.4623962640762329, 0.03513060510158539, -0.10529927909374237, 0.8762152791023254, -0.2989029884338379, 0.11799027025699615, 2.227898120880127, -0.357166588306427, 0.33148860931396484, 0.19529934227466583, -0.048328954726457596, 0.49180445075035095, -0.5693387985229492, 0.016638536006212234, -0.7452778220176697, -0.2549256384372711, 0.6755703687667847, 0.258420467376709, -0.17939253151416779, -0.05058930069208145, 0.45171061158180237, 0.055934786796569824, 0.006142065394669771, -0.15117201209068298, 0.07341393828392029, -0.41688403487205505, -0.40168866515159607, 0.2652835547924042, -0.22332504391670227, 0.316091388463974, -0.4933326244354248, 0.44449183344841003, 0.420316219329834, 0.260332852602005, 0.5813590884208679, 0.1356811374425888, 0.267773300409317, 0.3121803104877472, 0.06948135048151016, -1.0074126720428467, -1.100559115409851, 0.30966630578041077, -0.22347111999988556, 0.6184881925582886, 0.3139994144439697, 0.23895706236362457, 0.10197871178388596, -0.10567183047533035, -0.7050249576568604, -0.2808386981487274, -0.6095371246337891, 0.6328479051589966, -0.12060777097940445, 0.021188829094171524, 0.8731770515441895, -0.08300521224737167, -0.10766113549470901, 0.5676671862602234, 0.06598953902721405, -0.5374905467033386, 0.38794541358947754, -0.24236276745796204, -0.1161811426281929, -0.1239958107471466, 0.4639080762863159, -0.14350366592407227, 0.056015051901340485, 0.9155001044273376, 0.1765032857656479, -0.28909340500831604, -0.3864910304546356, 0.2081429809331894, 0.7861654162406921, -0.15217211842536926, 0.3930499851703644, 0.14228396117687225, -0.3632277846336365, -0.3990079462528229, 0.18125341832637787, 0.06247596815228462, 0.15892060101032257, -0.3401426374912262, -0.17657947540283203, 0.07577727735042572, 0.18061234056949615, 0.2531052529811859, 1.5154341459274292, -0.4544030427932739, -0.13986612856388092, -0.07412326335906982, 0.6693333387374878, -0.042169421911239624, -0.46958640217781067, -0.27901554107666016, 0.5321796536445618, -0.4692264199256897, -0.4114043116569519, 0.38162824511528015, -0.93715500831604, 1.0309107303619385, 0.14621612429618835, 0.4447453022003174, 0.217697411775589, -0.8767470717430115, -0.15246188640594482, 0.6976339817047119, -0.17647816240787506, 0.09076801687479019, -0.06844702363014221, 0.03223332017660141, 0.04374928027391434, -0.2081589698791504, 0.378216415643692, -0.6528845429420471, 0.029047662392258644, -0.049805350601673126, 0.4580797255039215, -1.119673728942871, 0.8975709676742554, -0.5532205700874329, -0.24233153462409973, -1.107792854309082, -0.7476813793182373, 0.40296220779418945, 0.7032638192176819, -0.5901340246200562, -1.078020453453064, 1.2083872556686401, -0.6103677153587341, 0.7784596681594849, 0.49780163168907166, 0.6248258948326111, -0.236446812748909, 0.3913499414920807, -0.17385375499725342, 0.06333421170711517, 0.2804882526397705, 0.22127053141593933, -0.04739471152424812, 0.3758606016635895, -0.3757820725440979, -0.1053217202425003, -0.33873996138572693, 0.19194558262825012, 0.8951087594032288, -0.3638402819633484, 0.32297420501708984, -0.010700436308979988, 1.4024783372879028, -0.2606823146343231, -0.11858341097831726, 0.22665227949619293, -0.0913984477519989, 1.5660219192504883, -0.261936217546463, 0.748155415058136, -0.1399516612291336, 0.24181947112083435, 0.4345501661300659, 1.0384327173233032, 0.1288284957408905, -0.8270719051361084, -0.7359123826026917, 0.476640909910202, 0.20670704543590546, -0.4614920914173126, 0.11645469814538956, -0.49055784940719604, -0.22601060569286346, 0.10438506305217743, -0.3408496081829071, -1.4871561527252197, -0.08122280240058899, 0.2893138527870178, 0.2227565199136734, 1.333961844444275, -0.31338775157928467, -0.17909063398838043, -0.4820679724216461, 0.20344272255897522, -0.005183930974453688, -0.5058783888816833, -0.27851468324661255, 0.8013932108879089, 0.4321334660053253, -0.6010423898696899, 0.5391448736190796, -0.3248956799507141, 0.6914467811584473, -0.15834078192710876, -0.2684096395969391, 0.14705106616020203, 0.19002212584018707, -0.23586790263652802, 0.032969437539577484, -0.06316656619310379, -0.10282652080059052, 0.38663196563720703, 0.2570110857486725, -0.4536575973033905, 0.019194116815924644, -0.5429511070251465, 0.25443702936172485, 0.8824930787086487, -0.14846795797348022, 0.3491963744163513, -0.40698447823524475, 0.19710563123226166, -1.2790770530700684, 1.018599271774292, 0.3545311391353607, -0.15763019025325775, 0.28919702768325806, 0.4402981102466583, -0.641800582408905, 0.14405423402786255, 0.22524893283843994, -0.14035989344120026, -0.746666669845581, 0.45044004917144775, -0.1095479279756546, 0.7740171551704407, -0.1652923971414566, 0.25532782077789307, -0.43285390734672546, 0.11475349217653275, -0.7880234122276306, 0.294610857963562, 0.2147015929222107, -0.022397935390472412, 0.16798090934753418, 0.16135607659816742, 0.3475867211818695, -0.03016907162964344, -0.7226690649986267, -0.09871631860733032, 0.08678697794675827, -0.44338226318359375, -0.054573819041252136, -0.32722312211990356, 0.12846921384334564, -0.18963009119033813, -0.3168334662914276, 0.08547770231962204, 0.005575656425207853, -1.0574387311935425, 0.05997848138213158, -0.23483046889305115, 1.2849938869476318, 0.29787686467170715, -0.39466583728790283, 0.5562602281570435, -0.9281078577041626, -1.010096788406372, -0.4164986312389374, 0.07353300601243973, -0.32880252599716187, -0.8860880136489868, -0.20020867884159088, 1.1972874402999878, 0.5473116636276245, -0.9847586154937744, -0.3760639429092407, 0.2501332759857178, -0.3909865617752075, 0.6584545969963074, 0.5686430931091309, 0.5746059417724609, 0.28990668058395386, -0.1113354042172432, 0.47843143343925476, 0.21139122545719147, 0.3801364302635193, -1.5257906913757324, -0.9995301365852356, -0.5490192770957947, 0.06472265720367432, 0.13856621086597443, -0.17641671001911163, 0.9467294216156006, -0.08036398887634277, -0.7716253399848938, 0.2772044539451599, 0.48092472553253174, 0.8069848418235779, -0.20063632726669312, 0.16212095320224762, 0.07693638652563095, -0.20188534259796143, -0.5370257496833801, -0.4599892199039459, 0.8743157982826233, 0.24264118075370789, 0.24562178552150726, 0.6317737698554993, -0.4981004595756531, -1.6990948915481567, 0.14714720845222473, 0.01697617396712303, 0.16304178535938263, 0.1869020015001297, -0.4538171589374542, 0.21503351628780365, -0.34397396445274353, 0.33116427063941956, 0.43331196904182434, 0.13894738256931305, 0.05604496970772743, -0.28943854570388794, -0.1380760222673416, 0.468880295753479, 0.2150450497865677, -0.3856009244918823, 0.2326299548149109, 0.3372137248516083, -0.47025007009506226, 0.40367624163627625, -0.23834243416786194, -0.4693015217781067, -0.3164850175380707, 0.5237011313438416, 0.4483165144920349, -0.6224474906921387, 0.42190900444984436, 0.33221435546875, 1.1268198490142822, -0.355488121509552, -0.447683721780777, -0.08913871645927429, -1.060018539428711, -0.9416125416755676, 0.17135842144489288, 0.12793006002902985, -1.3291829824447632, -0.46167489886283875, 0.16547968983650208, 0.43812742829322815, 0.716885507106781, -1.1891964673995972, 0.8175938725471497, 0.04425714537501335, 0.35121434926986694, -0.41160646080970764, 0.5517670512199402, 0.02946912683546543, 0.06025032326579094, -0.21602468192577362, 0.4613884389400482, -0.3829425275325775, -0.11467232555150986, -0.26877379417419434, -0.31744828820228577, -0.1255166083574295, -0.12699128687381744, 0.23751161992549896, -0.1743544489145279, -0.48217642307281494]