Examples

The examples below were obtained using the InChI REST API on MetaboCloud Web Portal. The input used (MOL/SDF file) were obtained from the Human Metabolome DataBase (HMDB).

Note

All examples describe below are using POST type request

Generating InChI and InChI

This functionality offer by this application is the generation of InChI and InChI Key from a MOL or a SDF of a compound. It is provided by the /generation endpoint.

Here, some examples of output obtained after querying the /generation application endpoint.

Example of the InChI and InChI Key generation of the Caffeine from its MOL in plain text
Request URL :
https://metabocloud.mesocentre.uca.fr/inchi/generation
Request body
Content-Type : multipart/form-data
molText=[201
        Mrv1652305201900032D

        14 15  0  0  0  0            999 V2000
            3.0791    1.6500    0.0000 O   0  0  0  0  0  0  0  0  0  0  0  0
            1.6500   -0.8250    0.0000 O   0  0  0  0  0  0  0  0  0  0  0  0
            3.0791   -0.8250    0.0000 N   0  0  0  0  0  0  0  0  0  0  0  0
            4.5741    0.6639    0.0000 N   0  0  0  0  0  0  0  0  0  0  0  0
            2.3645    0.4125    0.0000 N   0  0  0  0  0  0  0  0  0  0  0  0
            4.5741   -0.6639    0.0000 N   0  0  0  0  0  0  0  0  0  0  0  0
            3.7935    0.4125    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
            3.7935   -0.4125    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
            3.0791    0.8250    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
            2.3645   -0.4125    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
            5.0556    0.0000    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
            3.0791   -1.6500    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
            4.8305    1.4482    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
            1.6500    0.8250    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
        1  9  2  0  0  0  0
        2 10  2  0  0  0  0
        3  8  1  0  0  0  0
        3 10  1  0  0  0  0
        3 12  1  0  0  0  0
        4  7  1  0  0  0  0
        4 11  1  0  0  0  0
        4 13  1  0  0  0  0
        5  9  1  0  0  0  0
        5 10  1  0  0  0  0
        5 14  1  0  0  0  0
        6  8  1  0  0  0  0
        6 11  2  0  0  0  0
        7  8  2  0  0  0  0
        7  9  1  0  0  0  0
        M  END]
Output :
{
    "inchi": "InChI=1S/C8H10N4O2/c1-10-4-9-6-5(10)7(13)12(3)8(14)11(6)2/h4H,1-3H3",
    "inchiKey": "RYYVLZVUVIJVGH-UHFFFAOYSA-N",
    "softwareVersion": "1.06"
}