Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
2b613a0
FCD from fcd_torch (#29)
danpol Feb 11, 2019
cd1e36a
Updated metrics (#30)
danpol Feb 12, 2019
ab49229
Updated metrics (#31)
danpol Feb 12, 2019
b676338
isomeric dataset (#33)
danpol Feb 12, 2019
09b3e4c
Travis CI + distribution plot (#35)
danpol Feb 13, 2019
f3d6a9c
Update README.md (#37)
danpol Feb 27, 2019
bd2019e
PyPi package, updated results and pep8 for everything (#38)
danpol Mar 6, 2019
af6392f
Update README.md
zhebrak Mar 14, 2019
8641fee
missing script (#39)
danpol Mar 19, 2019
a383a5b
cPickle -> pickle (#43)
danpol Apr 18, 2019
09e8a31
Updated char_rnn results (#48)
danpol Jun 6, 2019
00185d4
Catch ValueError: Sanitization error in compute_scaffold() (#49)
pcko1 Jun 19, 2019
63373a7
flake8 (#50)
danpol Jun 19, 2019
252353c
Novelty metric & std for metrics (#54)
danpol Sep 2, 2019
bfcae3c
Dockerfile updated (#55)
shayakhmetov Sep 5, 2019
843570e
Data path fix in accordance with the documentation (#56)
shayakhmetov Sep 5, 2019
7ae0615
Use local cache of ZINC dataset, since original URL is not available …
danpol Oct 23, 2019
224015e
added the latentgan model (#59)
SeemonJ Oct 24, 2019
799982d
Add latent gan metrics in README (#60)
danpol Oct 24, 2019
c157e6d
fix scipy version in travis (#67)
danpol Dec 19, 2019
ac31c07
CircularBuffer Fix (#64)
beangoben Dec 20, 2019
7e366c2
Updated mean/sd and table/plots (#62)
SeemonJ Jan 27, 2020
58a18e2
Updated Dockerfile and README.md for LatentGAN (#70)
danpol Feb 6, 2020
ec178cd
pylint + fix ks argument type (#72)
danpol Feb 18, 2020
b94468c
Install MOSES dataset in moses package (#73)
danpol Mar 17, 2020
58cd8c3
adding some utility scripts for sampling from lbann models, some refo…
wderekjones Aug 24, 2020
be586d4
fixed some merge conflicts in the rnn load lbann weights function and…
wderekjones Aug 25, 2020
482fe26
updating VAE model with encode_smiles method
wderekjones Sep 9, 2020
041519a
updating to inclue latent space sampling experiments and prepare for …
wderekjones Sep 30, 2020
6524b72
updating code to get back on track
wderekjones Oct 1, 2020
4c1b3d0
Merge pull request #1 from williamdjones/temp
wderekjones Oct 1, 2020
bbea6b0
integrating changes from sams fork of moses, integrate_lbann_moses br…
wderekjones Oct 1, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
__pycache__
*.pyc
*.pyo
*.pyd
.Python
env.*
pip-log.txt
pip-delete-this-directory.txt
.tox
.cache
*.log
.ipynb_checkpoints/*
8 changes: 8 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
data/*.csv filter=lfs diff=lfs merge=lfs -text
data/samples/*generated.csv filter=lfs diff=lfs merge=lfs -text
*.npz filter=lfs diff=lfs merge=lfs -text
data/11_p0.smi.gz filter=lfs diff=lfs merge=lfs -text
moses/dataset/data/test_scaffolds_stats.npz filter=lfs diff=lfs merge=lfs -text
moses/dataset/data/test_stats.npz filter=lfs diff=lfs merge=lfs -text
moses/dataset/data/test.csv.gz filter=lfs diff=lfs merge=lfs -text
moses/dataset/data/test_scaffolds.csv.gz filter=lfs diff=lfs merge=lfs -text
moses/dataset/data/train.csv.gz filter=lfs diff=lfs merge=lfs -text
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
build/
dist/
moses.egg-info/

23 changes: 23 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
language: python

python:
- "3.6"

before_install:
- wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
- bash miniconda.sh -b -p $HOME/conda
- export PATH="$HOME/conda/bin:$PATH"
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda create -n test_env python=$TRAVIS_PYTHON_VERSION pip cmake
- source activate test_env

install:
- conda install -q -c rdkit rdkit
- conda install -q flake8 scipy=1.2.0 pylint
- python setup.py install

script:
- flake8
- pylint --disable=all --enable=no-else-return,unused-variable,wrong-import-order moses/ scripts/
- python tests/test_metrics.py
33 changes: 22 additions & 11 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,22 @@ ENV DEBIAN_FRONTEND noninteractive
ENV TERM linux

RUN mkdir /moses
COPY . /moses

RUN set -ex \
&& apt-get update -yqq \
&& apt-get upgrade -yqq \
&& apt-get install -yqq --no-install-recommends \
git wget curl ssh libxrender1 libxext6 software-properties-common \
&& wget --no-check-certificate https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh \
&& /bin/bash Miniconda3-latest-Linux-x86_64.sh -f -b -p /opt/miniconda \
git wget curl ssh libxrender1 libxext6 software-properties-common apt-utils \
&& wget --no-check-certificate https://repo.continuum.io/miniconda/Miniconda3-4.7.12.1-Linux-x86_64.sh \
&& /bin/bash Miniconda3-4.7.12.1-Linux-x86_64.sh -f -b -p /opt/miniconda \
&& add-apt-repository ppa:git-core/ppa \
&& (curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash) \
&& apt-get install git-lfs \
&& git lfs install \
&& apt-get clean \
&& /opt/miniconda/bin/conda install conda=4.5.12=py36_0 \
&& /opt/miniconda/bin/conda install conda=4.8.1=py37_0 \
&& /opt/miniconda/bin/conda clean -yq -a \
&& rm Miniconda3-latest-Linux-x86_64.sh \
&& rm Miniconda3-4.7.12.1-Linux-x86_64.sh \
&& rm -rf \
/tmp/* \
/var/tmp/* \
Expand All @@ -29,11 +28,23 @@ RUN set -ex \
/usr/share/doc-base

ENV PATH /opt/miniconda/bin:$PATH
RUN conda install -yq numpy=1.15.0 scipy=1.1.0 matplotlib=3.0.1 pandas=0.23.3 scikit-learn=0.19.1 tqdm \
&& pip install tensorflow-gpu==1.12 keras==2.2.4 \
&& conda install -yq -c rdkit rdkit=2018.09.1.0 \
&& conda install -yq -c pytorch pytorch=0.4.1 torchvision=0.2.1 \
&& conda clean -yq -a
RUN conda install -yq numpy=1.16.0 scipy=1.2.0 matplotlib=3.0.1 \
pandas=0.25 scikit-learn=0.20.3 tqdm>=4.26.0 \
&& conda install -yq -c rdkit rdkit=2019.09.3 \
&& conda install -yq -c pytorch pytorch=1.1.0 torchvision=0.2.1 \
&& conda clean -yq -a \
&& pip install tensorflow-gpu==1.14

RUN git clone https://github.com/pcko1/Deep-Drug-Coder.git --branch moses \
&& cd Deep-Drug-Coder \
&& python setup.py install \
&& cd .. \
&& git clone https://github.com/EBjerrum/molvecgen.git \
&& cd molvecgen \
&& python setup.py install \
&& cd ..

COPY . /moses

WORKDIR /moses
RUN python setup.py install && git lfs pull && conda clean -yq -a && rm -rf .git/lfs
Expand Down
10 changes: 10 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# MANIFEST.in
include moses/metrics/NP_Score/publicnp.model.gz
include moses/metrics/SA_Score/fpscores.pkl.gz
include moses/metrics/wehi_pains.csv
include moses/metrics/mcf.csv
include moses/dataset/data/train.csv.gz
include moses/dataset/data/test.csv.gz
include moses/dataset/data/test_scaffolds.csv.gz
include moses/dataset/data/test_stats.npz
include moses/dataset/data/test_scaffolds_stats.npz
Loading