Skip to content

A small, highly performant JavaScript component for parsing and drawing SMILES strings. Released under the MIT license.

License

Notifications You must be signed in to change notification settings

aimat-lab/smilesDrawer

 
 

Repository files navigation

SMILES to image

Use generate-images.js to generate data. You need to install node.js to run this tool.

Install dependencies using

npm i
Parameter Description
--from-csv-file Path to a CSV file. It can have one column only.
--from-csv-column Specifies which column of CSV to read. Set to 0 for CVS with only one column.
--output-directory Output directory.
--quality Value in [0, 100] specifying image quality. Or 'random'.
--colors Selects one of the color maps
--size Value specifying by how much the generated image should be resized.
--preserve-aspect-ratio Documentation here.
--amount How many SMILES to read.
--concurrency How many headless browsers to start.
--label-type One of box, oriented, points or all.
--min-smiles-length Lower bound for SMILES strings.
--max-smiles-length Upper bound for SMILES strings.
--output-labels Debug option. Whether to output labels.
--output-svg Debug option. Whether to output raw SVG files.
--clean Debug option. Whether to clean the target directory.

About

A small, highly performant JavaScript component for parsing and drawing SMILES strings. Released under the MIT license.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.7%
  • Shell 0.3%