Skip to content

Commit

Permalink
Merge pull request #439 from Steinbeck-Lab/dev-nisha
Browse files Browse the repository at this point in the history
Upgrade versions of RDKit, CDK and OB.
  • Loading branch information
Kohulan authored Jan 9, 2024
2 parents f47faa3 + d162ae4 commit c5886cf
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM continuumio/miniconda3 AS cheminf-python-ms

ENV PYTHON_VERSION=3.10
ENV RDKIT_VERSION=2023.03.1
ENV OPENBABEL_VERSION=v3.1
ENV RDKIT_VERSION=2023.09.4
ENV OPENBABEL_VERSION=v3.1.1

# Install runtime dependencies
RUN apt-get update && \
Expand All @@ -17,7 +17,7 @@ RUN chmod +x surge
RUN mv surge /usr/bin

RUN conda install -c conda-forge python>=PYTHON_VERSION
#RUN conda install -c conda-forge rdkit==RDKIT_VERSION
RUN conda install -c conda-forge rdkit==RDKIT_VERSION
RUN conda install -c conda-forge openbabel>=OPENBABEL_VERSION

RUN python3 -m pip install -U pip
Expand All @@ -32,7 +32,7 @@ RUN pip3 install --upgrade setuptools pip
RUN pip3 install --no-cache-dir -r /code/requirements.txt
RUN python3 -m pip uninstall -y imantics
RUN pip3 install imantics==0.1.12
RUN pip3 install rdkit
#RUN pip3 install rdkit
RUN pip3 install --no-deps decimer-segmentation==1.1.3
RUN pip3 install --no-deps decimer==2.3.0
RUN pip3 install --no-deps STOUT-pypi>=2.0.5
Expand Down
4 changes: 2 additions & 2 deletions app/modules/toolkits/cdk_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@
)
jvmPath = "Define/path/or/set/JAVA_HOME/variable/properly"
if not isJVMStarted():
cdk_path = "https://github.com/cdk/cdk/releases/download/cdk-2.8/cdk-2.8.jar"
cdk_path = "https://github.com/cdk/cdk/releases/download/cdk-2.9/cdk-2.9.jar"
sru_path = "https://github.com/JonasSchaub/SugarRemoval/releases/download/v1.3.2/SugarRemovalUtility-jar-with-dependencies.jar"
centres_path = (
"https://github.com/SiMolecule/centres/releases/download/1.0/centres.jar"
)
opsin_path = "https://github.com/dan2097/opsin/releases/download/2.8.0/opsin-cli-2.8.0-jar-with-dependencies.jar"

cdkjar_path = str(pystow.join("STOUT-V2")) + "/cdk-2.8.jar"
cdkjar_path = str(pystow.join("STOUT-V2")) + "/cdk-2.9.jar"
srujar_path = (
str(pystow.join("STOUT-V2")) + "/SugarRemovalUtility-jar-with-dependencies.jar"
)
Expand Down
6 changes: 3 additions & 3 deletions docs/versions.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ The Cheminformatics Microservice, framework is developed using Python and [FastA

| Toolkits | Version |
|-------------|-------------|
| RDKit <sup>1</sup> | 2023.03.1 |
| CDK <sup>2</sup> | 2.8.0 |
| Open Babel <sup>3</sup> | 3.1.0 |
| RDKit <sup>1</sup> | 2023.09.4 |
| CDK <sup>2</sup> | 2.9.0 |
| Open Babel <sup>3</sup> | 3.1.1 |


**External Tools Versions**
Expand Down
2 changes: 1 addition & 1 deletion ops/docker-compose-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@ volumes:
postgres_data:
networks:
default:
name: cm_fastapi
name: cm_fastapi

0 comments on commit c5886cf

Please sign in to comment.