A
A
Asya2016-06-09 22:33:22
JavaScript
Asya, 2016-06-09 22:33:22

How to find out/download algorithm/code from js link?

I need to translate the name of a chemical formula from SMILES into a regular molecular formula.
For example,
CC(=O)OC1=CC=CC=C1C(=O)O is the name in SMILES
C9H8O4 is the usual molecular formula
I was told that this can be done online here :
b84abbfb51f94eb593d0b373b2cd2123.png
pubchem.ncbi.nlm.nih.gov /rest/ pug/compound/ smiles/ CC(=O)OC1=CC=CC=C1C(=O)O /property/MolecularFormula/JSON
Just replace CC(=O)OC1=CC=CC=C1C(=O)O with another formula in the SMILES format, and then you get an answer with a molecular formula:
43bcaffb24d2456c8e55c58f671a68a1.png
So, as I understand it, this is done according to some kind of algorithm. How can I find out/download this algorithm/code from there?
herethere are some obscure details, but they do not help

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Eugene 222, 2016-06-10
@asyaevloeva

Bad Google means.
Converter
OELib
----------
Wrap the converter in a REST interface, and you can use it from anywhere
----------
In principle, you can tear out the converter code and assemble it into your program, but it takes longer, and potential problems with the license

A
Andrey, 2016-06-09
@AndreyMyagkov

You can't download the algorithm from there. Google the algorithm.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question