-
Notifications
You must be signed in to change notification settings - Fork 39
InChIKey property #466
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
InChIKey property #466
Changes from 3 commits
1b8fe69
4148d3b
0a3b3aa
423da1a
041d04b
14f33a9
0ab8ba8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2500,6 +2500,20 @@ chemical\_formula\_anonymous | |
|
|
||
| - A filter that matches an exactly given formula is :filter:`chemical_formula_anonymous="A2B"`. | ||
|
|
||
| inchikey | ||
| ~~~~~~~~ | ||
|
|
||
| - **Description**: The standard InChIKey representation of the structure, as laid out by the `InChI Trust <https://www.inchi-trust.org>`_ | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe we should also specify which InChI/InChiKey version should be used?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fair point. I would also like to discuss how will we handle deprecation and switching to new InChiKey versions in the future, as I do not believe it will be possible to keep using the old version when new ones are released. I can think of the following options:
First solution is better for interoperability, but puts more strain on the implementers.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think that for now we should go with option 1 since this approach is already used in the suggested SMILES property (PR #392). Later on when (and if) the metadata approach gets merged, option 2 can be revisited. However, I think that option 1 greatly simplifies queries for the client. Each time needing to calculate the InChIKey with several different versions of the algorithm to just to query several databases does not seem very convenient. |
||
| - **Type**: string | ||
| - **Requirements/Conventions**: | ||
|
|
||
| - **Support**: OPTIONAL support in implementations, i.e., MAY be :val:`null`. | ||
| - **Query**: Support for queries on this property is OPTIONAL. | ||
|
|
||
| - **Examples**: | ||
|
|
||
| - Morphine: :val:`BQJCRHHNABKAKU-KBQPJGBKSA-N` | ||
|
|
||
| dimension\_types | ||
| ~~~~~~~~~~~~~~~~ | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.