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

Switch to using QCElemental Molecule.identifiers for CMILES and friends? #199

Open
dotsdl opened this issue May 20, 2022 · 1 comment
Open

Comments

@dotsdl
Copy link
Member

dotsdl commented May 20, 2022

Historically we used qcelemental.models.Molecule.extras for storing e.g. canonical_isomeric_explicit_hydrogen_mapped_smiles, but we may wish to start using qcelemental.models.Molecule.identifier for this information in addition, and eventually, instead.

Any objections to this?

@jthorton
Copy link
Contributor

@dotsdl good idea the identifiers here seem to support most of our needs, it would be good if we could extend it though to support all of the attributes we currently use, as we also use the fixed hydrogen layer inchi and inchikey which allows us to distinguish between tautomers when performing searches on our results collections see all of our used attributes here.

We also use the hill formula as our molecular formula it would be good to clarify what is supposed to be used in the identifier molecular_formula field as I see they support two types of formula as I belive you can search qcarchive using this formula so it would be good to be consistent.

It might also be good to suggest that the molecule_hash is generated during the init of the molecule as I think its supposed to be the hash from this function but currently would allow any string to be used.

Maybe we should also suggest a provenance field so we can supply the toolkit used and the version which made the identifiers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants