Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting retention index from name, InChIKey ? #219

Closed
QizhiSu opened this issue Feb 28, 2020 · 6 comments
Closed

Getting retention index from name, InChIKey ? #219

QizhiSu opened this issue Feb 28, 2020 · 6 comments
Assignees
Labels
enhancement New feature or enhancement

Comments

@QizhiSu
Copy link

QizhiSu commented Feb 28, 2020

Dear webchem developer,
Thank you very much for your effort in developing and maintaining webchem. It is a very useful tool for many of us.
I am thinking if it is possible to retrieve retention index information by name/nist number/InChIKey because I found that there are many compounds that do not have CAS number

@Aariq Aariq added enhancement New feature or enhancement good first issue Good issue for first-time contributors labels Feb 28, 2020
@Aariq
Copy link
Collaborator

Aariq commented Feb 28, 2020

Thanks for the suggestion! These should be pretty easy to implement.

@Aariq
Copy link
Collaborator

Aariq commented Mar 6, 2020

I spoke too soon. You can query chemicals by name, CAS, or InChIKey, but the URL for the individual tables is by CAS number, so it's not actually easy to implement this.

Can you give an example of a compound with no CAS number that has gas chromatography data in NIST? That would help me figure out if this is possible.

@Aariq Aariq removed the good first issue Good issue for first-time contributors label Mar 6, 2020
@QizhiSu
Copy link
Author

QizhiSu commented Mar 6, 2020 via email

@Aariq
Copy link
Collaborator

Aariq commented Mar 10, 2020

Thanks. It probably is possible to implement this, but not as straightforward as I thought. The permanent link to compound pages is by InChI, and from there I could grab the URL for the gas chromatography data page.

@QizhiSu
Copy link
Author

QizhiSu commented Mar 11, 2020 via email

@Aariq
Copy link
Collaborator

Aariq commented Apr 27, 2020

You can now use nist_ri() to search by cas, inchi, inchikey, and compound name in the development version of webchem. Install the development version with remotes::install_github("ropensci/webchem"). Thank you again for your suggestion.

@Aariq Aariq closed this as completed Apr 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or enhancement
Projects
None yet
Development

No branches or pull requests

2 participants