Description Usage Arguments Details Value Author(s) References Examples
View source: R/ChemicalCuration.R
Retrieves PubChem CIDs from SMILES or InChI using PUG REST. By "default", this also returns the CID of the prefered tautomer according to current PubChem standardization procedures
1 | getPCID.smiles(query, from = "smiles", to="cids", timeout=30)
|
query |
SMILES or InChI (or other) to be converted |
from |
Type of input ID (default |
timeout |
Timeout in seconds for the query |
This searches PubChem by SMILES and/or InChI and returns CIDs. The function may work for other output, but this has not been tested. Thanks to Paul Thiessen and Evan Bolton from PubChem team for assistance.
The matching CID
Emma Schymanski <emma.schymanski@uni.lu>
PubChem search: http://pubchem.ncbi.nlm.nih.gov/
Pubchem REST: https://pubchem.ncbi.nlm.nih.gov/pug_rest/PUG_REST.html
1 | getPCID.smiles("CC(=O)OC1=CC=CC=C1C(=O)O")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.