randepict
This repository contains RanDepict, an easy-to-use utility to generate a big variety of chemical structure depictions (random depiction styles and image augmentations) based on RDKit, CDK, Indigo and PIKAChU.
Science Score: 77.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 5 DOI reference(s) in README -
✓Academic publication links
Links to: zenodo.org -
✓Committers with academic emails
1 of 6 committers (16.7%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (15.8%) to scientific vocabulary
Repository
This repository contains RanDepict, an easy-to-use utility to generate a big variety of chemical structure depictions (random depiction styles and image augmentations) based on RDKit, CDK, Indigo and PIKAChU.
Basic Info
Statistics
- Stars: 27
- Watchers: 4
- Forks: 10
- Open Issues: 4
- Releases: 19
Metadata Files
README.md

This repository contains RanDepict, an easy-to-use utility to generate a big variety of chemical structure depictions (random depiction styles and image augmentations) based on RDKit, CDK, Indigo and PIKAChU.
Usage
- To use RanDepict, clone the repository to your local disk and make sure you install all the necessary requirements.
Installation
shell
$ git clone https://github.com/OBrink/RanDepict.git
$ cd RanDepict
$ python -m pip install -U pip #Upgrade pip
$ pip install .
Alternative
shell
$ python -m pip install -U pip #Upgrade pip
$ pip install git+https://github.com/OBrink/RanDepict.git
Install from PyPI
shell
$ pip install RanDepict
Development
Note We recommend using RanDepict inside a Conda environment to facilitate the installation of the dependencies. - Conda can be downloaded as part of the Anaconda or the Miniconda plattforms (Python 3.8). We recommend
miniconda3. On Linux you can get it with:
shell
$ wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
$ bash Miniconda3-latest-Linux-x86_64.sh
```shell $ echo -e "channels:\n - conda-forge\n - nodefaults" > ~/.condarc $ conda update conda $ conda install conda-libmamba-solver $ conda config --set experimental_solver libmamba $ conda create --name RanDepict python=3.8 $ conda activate RanDepict
pypi has rdkit so not necessary to install it using conda
$ conda install -c rdkit rdkit
$ pip install -e ".[dev]" # will install pytest and tox
To run tests for python 3.8
$ tox -e py38 ```
Basic usage:
```python from RanDepict import RandomDepictor
smiles = "CN1C=NC2=C1C(=O)N(C(=O)N2C)C"
with RandomDepictor() as depictor: image = depictor(smiles) ```
Have a look at the examples in our demo notebook. A more detailed documentation is provided here.
Here are some examples of depictions of caffeine without augmentations (left) and with augmentations (right) that were automatically created using RanDepict.

Cite Us
- Brinkhaus, H.O., Rajan, K., Zielesny, A. et al. RanDepict: Random chemical structure depiction generator. J Cheminform 14, 31 (2022). https://doi.org/10.1186/s13321-022-00609-4
Acknowledgements
- We would like to thank M. Isabel Agea and Tulay Muezzinoglu for their valuable contributions.
More information about our research group
Owner
- Name: Otto Brinkhaus
- Login: OBrink
- Kind: user
- Repositories: 5
- Profile: https://github.com/OBrink
Citation (CITATION.cff)
cff-version: 1.2.0 message: "If you use this software, please cite it as below." authors: - family-names: "Brinkhaus" given-names: "Henning Otto" orcid: "https://orcid.org/0000-0002-6664-2183" - family-names: "Rajan" given-names: "Kohulan" orcid: "https://orcid.org/0000-0003-1066-7792" title: "RanDepict" version: 1.3.0 doi: 10.5281/zenodo.5205528 date-released: 2021-08-17 url: "https://github.com/OBrink/RanDepict" license: MIT
GitHub Events
Total
- Issues event: 1
- Watch event: 4
- Issue comment event: 3
- Pull request event: 1
- Pull request review event: 1
Last Year
- Issues event: 1
- Watch event: 4
- Issue comment event: 3
- Pull request event: 1
- Pull request review event: 1
Committers
Last synced: almost 3 years ago
All Time
- Total Commits: 325
- Total Committers: 6
- Avg Commits per committer: 54.167
- Development Distribution Score (DDS): 0.431
Top Committers
| Name | Commits | |
|---|---|---|
| OBrink | b****s@g****m | 185 |
| Kohulan Rajan | k****n@u****e | 93 |
| Otto Brinkhaus | 5****k@u****m | 23 |
| Iagea | i****3@g****m | 12 |
| Tulay Muezzinoglu | t****u@s****m | 11 |
| Egon Willighagen | e****n@g****m | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 19
- Total pull requests: 37
- Average time to close issues: 3 months
- Average time to close pull requests: 2 days
- Total issue authors: 4
- Total pull request authors: 7
- Average comments per issue: 1.53
- Average comments per pull request: 0.46
- Merged pull requests: 32
- Bot issues: 0
- Bot pull requests: 2
Past Year
- Issues: 1
- Pull requests: 3
- Average time to close issues: N/A
- Average time to close pull requests: about 2 hours
- Issue authors: 1
- Pull request authors: 2
- Average comments per issue: 0.0
- Average comments per pull request: 0.0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- OBrink (13)
- Kohulan (2)
- tulay (2)
- sralvins (1)
Pull Request Authors
- OBrink (19)
- Kohulan (9)
- Iagea (3)
- github-actions[bot] (2)
- RvdPloeg (2)
- egonw (1)
- tulay (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 56 last-month
- Total dependent packages: 0
- Total dependent repositories: 1
- Total versions: 15
- Total maintainers: 2
pypi.org: randepict
RanDepict is an easy-to-use utility to generate a big variety of chemical structure depictions (random depiction styles and image augmentations).
- Homepage: https://github.com/OBrink/RanDepict
- Documentation: https://randepict.readthedocs.io/
- License: MIT
-
Latest release: 1.3.0
published over 2 years ago
Rankings
Dependencies
- actions/checkout master composite
- actions/setup-python v3 composite
- pypa/gh-action-pypi-publish release/v1 composite
- actions/checkout v2 composite
- actions/setup-python v1 composite
- google-github-actions/release-please-action v3 composite
- epam.indigo *
- ipyplot *
- jpype1 *
- numpy *
- pikachu-chem >=1.0.7
- rdkit *
- scikit-image *
- epam.indigo *
- furo *
- imagecorruptions *
- imgaug *
- ipyplot *
- jpype1 *
- nbsphinx *
- numpy >=1.19
- omegaconf ==2.2.3
- pikachu-chem >=1.0.7
- pillow >=8
- rdkit-pypi *
- scikit-image *
- sphinx-autodoc-typehints *
- epam.indigo *
- imagecorruptions *
- imgaug *
- ipyplot *
- jpype1 *
- numpy >=1.19
- omegaconf *
- pikachu-chem >=1.0.7
- pillow >=8.2.0
- rdkit *
- scikit-image *
- typing-extensions *
