Skip to content

Commit 7d99f49

Browse files
committed
Merge remote-tracking branch 'origin'
2 parents ca77471 + 3389f4a commit 7d99f49

75 files changed

Lines changed: 2604 additions & 2083 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ examples/data/
1212

1313
# tests
1414
tests/**/*.png
15+
test_model.*
1516

1617
# Distribution / packaging
1718
.Python

README.md

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,19 @@ operations on molecular data.
3030

3131
More detailed and comprehensive documentation in [DeepMol readthedocs](https://deepmol.readthedocs.io/en/latest/).
3232

33+
### Google colabs to run AutoML
34+
35+
- [Binary and multiclass classification](https://colab.research.google.com/drive/1wtiwuuhfWKVo40ywgweWUMavKL0zdwJK?usp=sharing)
36+
- [Regression](https://colab.research.google.com/drive/1vE-Q01orImdD4qFTo20MAT4E4kP2hsYF?usp=sharing)
37+
- [Multi-task/multi-label](https://colab.research.google.com/drive/18z2vN6zLNSVJ3qgskKZTYxA_t9UNS1b8?usp=sharing)
38+
3339
### Table of contents:
3440

35-
- [Requirements](#requirements)
3641
- [Installation](#installation)
3742
- [Pip](#pip)
3843
- [Manually](#manually)
3944
- [Docker](#docker)
45+
- [Disclaimer](#disclaimer)
4046
- [Getting Started](#getting-started)
4147
- [Load dataset from csv](#load-a-dataset-from-a-csv)
4248
- [Load dataset from sdf](#load-a-dataset-from-a-sdf)
@@ -58,6 +64,7 @@ More detailed and comprehensive documentation in [DeepMol readthedocs](https://d
5864
- [License](#licensing)
5965

6066

67+
6168
## Installation
6269

6370
### Pip
@@ -70,6 +77,13 @@ If you intend to install all the deepmol modules' dependencies:
7077
pip install deepmol[all]
7178
```
7279

80+
or in MacOS:
81+
82+
```bash
83+
pip install "deepmol[all]"
84+
```
85+
86+
7387
Extra modules:
7488

7589
```bash
@@ -78,6 +92,14 @@ pip install deepmol[machine-learning]
7892
pip install deepmol[deep-learning]
7993
```
8094

95+
or in MacOS:
96+
97+
```bash
98+
pip install "deepmol[preprocessing]"
99+
pip install "deepmol[machine-learning]"
100+
pip install "deepmol[deep-learning]"
101+
```
102+
81103
Also, you should install mol2vec and its dependencies:
82104

83105
```bash
@@ -107,6 +129,14 @@ You can also use the provided image to build your own Docker image:
107129
docker pull biosystemsum/deepmol
108130
```
109131

132+
### Disclaimer
133+
134+
If you’d like to use the GPU, make sure to install the versions of TensorFlow and DGL that match the CUDA drivers for your hardware.
135+
136+
Do not install JAX, it will result dependency conflicts.
137+
138+
Loading tensorflow models will be problematic for MacOS users due to a known tensorflow issue [46](https://github.com/keras-team/tf-keras/issues/46).
139+
110140

111141
## Getting Started
112142

@@ -710,6 +740,7 @@ and in industry scenarios.
710740
## Citing DeepMol
711741

712742
Correia, J., Capela, J., & Rocha, M. (2024). DeepMol: An Automated Machine and Deep Learning Framework for Computational Chemistry. [https://doi.org/10.1186/s13321-024-00937-7](https://doi.org/10.1186/s13321-024-00937-7)
743+
Correia, J., Capela, J. & Rocha, M. Deepmol: an automated machine and deep learning framework for computational chemistry. J Cheminform 16, 136 (2024). [https://doi.org/10.1186/s13321-024-00937-7](https://doi.org/10.1186/s13321-024-00937-7)
713744

714745
### Publications using DeepMol
715746

README_pypi.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ operations on molecular data.
1010

1111
More detailed and comprehensive documentation in [DeepMol readthedocs](https://deepmol.readthedocs.io/en/latest/).
1212

13+
### Google colabs to run AutoML
14+
15+
- [Binary and multiclass classification](https://colab.research.google.com/drive/1wtiwuuhfWKVo40ywgweWUMavKL0zdwJK?usp=sharing)
16+
- [Regression](https://colab.research.google.com/drive/1vE-Q01orImdD4qFTo20MAT4E4kP2hsYF?usp=sharing)
17+
- [Multi-task/multi-label](https://colab.research.google.com/drive/18z2vN6zLNSVJ3qgskKZTYxA_t9UNS1b8?usp=sharing)
18+
1319
## Installation
1420

1521
### Pip
@@ -22,6 +28,13 @@ If you intend to install all the deepmol modules' dependencies:
2228
pip install deepmol[all]
2329
```
2430

31+
or in MacOS:
32+
33+
```bash
34+
pip install "deepmol[all]"
35+
```
36+
37+
2538
Extra modules:
2639

2740
```bash
@@ -30,6 +43,14 @@ pip install deepmol[machine-learning]
3043
pip install deepmol[deep-learning]
3144
```
3245

46+
or in MacOS:
47+
48+
```bash
49+
pip install "deepmol[preprocessing]"
50+
pip install "deepmol[machine-learning]"
51+
pip install "deepmol[deep-learning]"
52+
```
53+
3354
Also, you should install mol2vec and its dependencies:
3455

3556
```bash
@@ -59,6 +80,13 @@ You can also use the provided image to build your own Docker image:
5980
docker pull biosystemsum/deepmol
6081
```
6182

83+
### Disclaimer
84+
85+
If you’d like to use the GPU, make sure to install the versions of TensorFlow and DGL that match the CUDA drivers for your hardware.
86+
87+
Do not install JAX, it will result dependency conflicts.
88+
89+
Loading tensorflow models will be problematic for MacOS users due to a known tensorflow issue [46](https://github.com/keras-team/tf-keras/issues/46).
6290

6391
## Getting Started
6492

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
sys.path.insert(0, os.path.abspath('../src/'))
1212

1313
project = 'deepmol'
14-
copyright = '2023, João Correia and João Capela'
14+
copyright = '2024, João Correia and João Capela'
1515
author = 'João Correia and João Capela'
1616
release = '1.0.0'
1717

docs/deepmol.compound_featurization.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# deepmol.compound_featurization package
22

3+
## Subpackages
4+
5+
```{toctree}
6+
:maxdepth: 4
7+
8+
deepmol.compound_featurization.nc_mfp
9+
deepmol.compound_featurization.neural_npfp
10+
```
11+
312
## Submodules
413

514
## deepmol.compound_featurization.base_featurizer module
@@ -20,6 +29,15 @@
2029
:show-inheritance:
2130
```
2231

32+
## deepmol.compound_featurization.mhfp module
33+
34+
```{eval-rst}
35+
.. automodule:: deepmol.compound_featurization.mhfp
36+
:members:
37+
:undoc-members:
38+
:show-inheritance:
39+
```
40+
2341
## deepmol.compound_featurization.mixed_descriptors module
2442

2543
```{eval-rst}
@@ -38,6 +56,33 @@
3856
:show-inheritance:
3957
```
4058

59+
## deepmol.compound_featurization.nc_mfp_generator module
60+
61+
```{eval-rst}
62+
.. automodule:: deepmol.compound_featurization.nc_mfp_generator
63+
:members:
64+
:undoc-members:
65+
:show-inheritance:
66+
```
67+
68+
## deepmol.compound_featurization.neural_npfp_generator module
69+
70+
```{eval-rst}
71+
.. automodule:: deepmol.compound_featurization.neural_npfp_generator
72+
:members:
73+
:undoc-members:
74+
:show-inheritance:
75+
```
76+
77+
## deepmol.compound_featurization.np_classifier_fp module
78+
79+
```{eval-rst}
80+
.. automodule:: deepmol.compound_featurization.np_classifier_fp
81+
:members:
82+
:undoc-members:
83+
:show-inheritance:
84+
```
85+
4186
## deepmol.compound_featurization.one_hot_encoder module
4287

4388
```{eval-rst}
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
# deepmol.compound_featurization.nc_mfp package
2+
3+
## Submodules
4+
5+
## deepmol.compound_featurization.nc_mfp.Fingerprint_representation_step module
6+
7+
```{eval-rst}
8+
.. automodule:: deepmol.compound_featurization.nc_mfp.Fingerprint_representation_step
9+
:members:
10+
:undoc-members:
11+
:show-inheritance:
12+
```
13+
14+
## deepmol.compound_featurization.nc_mfp.Fragment_identifying_step module
15+
16+
```{eval-rst}
17+
.. automodule:: deepmol.compound_featurization.nc_mfp.Fragment_identifying_step
18+
:members:
19+
:undoc-members:
20+
:show-inheritance:
21+
```
22+
23+
## deepmol.compound_featurization.nc_mfp.Fragment_list_generation_step module
24+
25+
```{eval-rst}
26+
.. automodule:: deepmol.compound_featurization.nc_mfp.Fragment_list_generation_step
27+
:members:
28+
:undoc-members:
29+
:show-inheritance:
30+
```
31+
32+
## deepmol.compound_featurization.nc_mfp.Preprocessing_step module
33+
34+
```{eval-rst}
35+
.. automodule:: deepmol.compound_featurization.nc_mfp.Preprocessing_step
36+
:members:
37+
:undoc-members:
38+
:show-inheritance:
39+
```
40+
41+
## deepmol.compound_featurization.nc_mfp.SFCP_assigning_step module
42+
43+
```{eval-rst}
44+
.. automodule:: deepmol.compound_featurization.nc_mfp.SFCP_assigning_step
45+
:members:
46+
:undoc-members:
47+
:show-inheritance:
48+
```
49+
50+
## deepmol.compound_featurization.nc_mfp.Scaffold_matching_step module
51+
52+
```{eval-rst}
53+
.. automodule:: deepmol.compound_featurization.nc_mfp.Scaffold_matching_step
54+
:members:
55+
:undoc-members:
56+
:show-inheritance:
57+
```
58+
59+
## deepmol.compound_featurization.nc_mfp.generate_database module
60+
61+
```{eval-rst}
62+
.. automodule:: deepmol.compound_featurization.nc_mfp.generate_database
63+
:members:
64+
:undoc-members:
65+
:show-inheritance:
66+
```
67+
68+
## deepmol.compound_featurization.nc_mfp.identify_smarts_fragmets module
69+
70+
```{eval-rst}
71+
.. automodule:: deepmol.compound_featurization.nc_mfp.identify_smarts_fragmets
72+
:members:
73+
:undoc-members:
74+
:show-inheritance:
75+
```
76+
77+
## Module contents
78+
79+
```{eval-rst}
80+
.. automodule:: deepmol.compound_featurization.nc_mfp
81+
:members:
82+
:undoc-members:
83+
:show-inheritance:
84+
```
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# deepmol.compound_featurization.neural_npfp package
2+
3+
## Submodules
4+
5+
## deepmol.compound_featurization.neural_npfp.model module
6+
7+
```{eval-rst}
8+
.. automodule:: deepmol.compound_featurization.neural_npfp.model
9+
:members:
10+
:undoc-members:
11+
:show-inheritance:
12+
```
13+
14+
## deepmol.compound_featurization.neural_npfp.utils module
15+
16+
```{eval-rst}
17+
.. automodule:: deepmol.compound_featurization.neural_npfp.utils
18+
:members:
19+
:undoc-members:
20+
:show-inheritance:
21+
```
22+
23+
## Module contents
24+
25+
```{eval-rst}
26+
.. automodule:: deepmol.compound_featurization.neural_npfp
27+
:members:
28+
:undoc-members:
29+
:show-inheritance:
30+
```

docs/deepmol.encoders.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# deepmol.encoders package
2+
3+
## Submodules
4+
5+
## deepmol.encoders.label_encoder module
6+
7+
```{eval-rst}
8+
.. automodule:: deepmol.encoders.label_encoder
9+
:members:
10+
:undoc-members:
11+
:show-inheritance:
12+
```
13+
14+
## deepmol.encoders.label_one_hot_encoder module
15+
16+
```{eval-rst}
17+
.. automodule:: deepmol.encoders.label_one_hot_encoder
18+
:members:
19+
:undoc-members:
20+
:show-inheritance:
21+
```
22+
23+
## Module contents
24+
25+
```{eval-rst}
26+
.. automodule:: deepmol.encoders
27+
:members:
28+
:undoc-members:
29+
:show-inheritance:
30+
```

docs/deepmol.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
deepmol.base
99
deepmol.compound_featurization
1010
deepmol.datasets
11+
deepmol.encoders
1112
deepmol.evaluator
1213
deepmol.feature_importance
1314
deepmol.feature_selection

docs/deepmol.pipeline.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22

33
## Submodules
44

5+
## deepmol.pipeline.ensemble module
6+
7+
```{eval-rst}
8+
.. automodule:: deepmol.pipeline.ensemble
9+
:members:
10+
:undoc-members:
11+
:show-inheritance:
12+
```
13+
514
## deepmol.pipeline.pipeline module
615

716
```{eval-rst}

0 commit comments

Comments
 (0)