https://github.com/terrymun/moleculeviewer
A simple molecule viewier to render 3D models based on SMILES
https://github.com/terrymun/moleculeviewer
Last synced: about 1 year ago
JSON representation
A simple molecule viewier to render 3D models based on SMILES
- Host: GitHub
- URL: https://github.com/terrymun/moleculeviewer
- Owner: terrymun
- Created: 2016-06-25T12:07:05.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-07-03T11:04:18.000Z (about 10 years ago)
- Last Synced: 2025-07-02T19:05:54.883Z (about 1 year ago)
- Language: JavaScript
- Size: 175 KB
- Stars: 6
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# MoleculeViewer
A simple but powerful molecule viewer for generating 3D models from simplified molecular-input line-entry system (SMILES) files. Implementation includes the [ChEmbl API](https://www.ebi.ac.uk/chembl/api/data/docs) and [Speck](https://github.com/wwwtyro/speck).
[**View live demo.**](https://terrymun.github.io/MoleculeViewer/)
## How to use
Create a plain text file containing a single line of SMILES, for example, for ciprofloxacin:
```
OC(=O)C1=CN(C2CC2)C2=CC(N3CCNCC3)=C(F)C=C2C1=O
```
Drop it onto the green dropzone on the page, and let MoleculeViewer do the rest of the work.
## Note
- MoleculeViewer only accepts plain text files, or files with the valid MIME type of `chemical/x-daylight-smiles`. If in doubt, a plain text file generated from a typical text editor will work.
## Acknowledgement
- [ChEmbl API](https://www.ebi.ac.uk/chembl/api/data/docs)
- [Speck](https://github.com/wwwtyro/speck)