Skip to content

install problem #1

Description

@sistar2020

I tried to install DeepBioisostere as below:

git clone https://github.com/Hwoo-Kim/DeepBioisostere.git
cd DeepBioisostere/
conda create -n DeepBioisostere python=3.9.11
conda activate DeepBioisostere
conda install scipy numpy pandas scikit-learn
pip install matplotlib
conda install -c rdkit rdkit=2022.03.1
conda install seaborn
conda install pytorch==1.11.0 cudatoolkit=11.3 -c pytorch
pip install torch-scatter==2.0.9 torch-sparse==0.6.15 torch-cluster==1.6.0 torch-geometric==2.1.0 -f https://data.pyg.org/whl/torch-1.11.0+cu113.html

So far, it was successful. But when I tried to run "python example.py", I got the following error:

$ python example.py
Traceback (most recent call last):
  File "/opt/modeling/bioisostere/DeepBioisostere/example.py", line 4, in <module>
    from rdkit import Chem
  File "/opt/anaconda310/envs/DeepBioisostere/lib/python3.9/site-packages/rdkit/Chem/__init__.py", line 23, in <module>
    from rdkit.Chem.rdmolfiles import *
ImportError: /opt/anaconda310/envs/DeepBioisostere/lib/python3.9/site-packages/rdkit/Chem/../../../../libRDKitmaeparser.so.1: undefined symb
ol: _ZN5boost9iostreams4zlib8deflatedE

I thought this may be due to the version problem in rdkit. So I installed the latest rdkit as follow:
conda install rdkit

Then the above error was gone but got the following errors:

$ python example.py
SMILES: ClC(Cc1c(C(Nc2c(Br)cccc2)=O)cccc1)=O, logP: 4.009, QED: 0.845, Mw: 350.966, SAscore: 1.942
SMILES: Cc1ccc2cnc(N(C)CCc3ccccn3)nc2c1, logP: 3.012, QED: 0.735, Mw: 278.153, SAscore: 2.309
Loading the fragment library...
Traceback (most recent call last):
  File "/opt/modeling/bioisostere/DeepBioisostere/example.py", line 47, in <module>
    generator = Generator(
  File "/opt/modeling/bioisostere/DeepBioisostere/scripts/generate.py", line 97, in __init__
    frags_lib_dataset = FragmentLibrary.get_insertion_frag_library(
  File "/opt/modeling/bioisostere/DeepBioisostere/scripts/dataset.py", line 752, in get_insertion_frag_library
    return cls(fragment_library_df, smi_to_frag_features, frag_brics_maskings)
  File "/opt/modeling/bioisostere/DeepBioisostere/scripts/dataset.py", line 704, in __init__
    self.frag_features = [smi_to_frag_features[smi] for smi in self.frags_smis]
  File "/opt/modeling/bioisostere/DeepBioisostere/scripts/dataset.py", line 704, in <listcomp>
    self.frag_features = [smi_to_frag_features[smi] for smi in self.frags_smis]
KeyError: '[8*]C([8*])O[C@@H]1C[C@@H]2CC[C@H](C1)N2C'

Any help?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions