node-pubchem

In this project we make a copy of pubchem and carefully calculate the monoisotopic mass of each of the molecule as well as the molecular formula taking into account charges, parts and isotopes.

We then provide an API that allows to quickly and efficiently search in the database.

Setup

npm run server8080

Provided webservice

/mfs/em

Search MF from monoisotopic mass

/mfs/em?em=300&precision=10

Parameters:

/molecules/em

Search molecules from monoisotopic mass

If must be the exact value of the EM so that is can only be used from the previous query result

Parameters:

/molecules/em?em=295.0000687128

/molecules/mf

Search molecules from a molecular formula

If must be the exact value of the MF so that is can practically only be used from the previous query result

Parameters:

/molecules/mf?mf=C10H20

/molecules/smiles

Search molecules from exact smiles

Parameters:

/molecules/smiles?smiles=c1ccccc1