question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Defining atom indices impossible(?)

See original GitHub issue

Describe the bug Hi there. Is there any way to map atoms implemented currently? When using atom indices as is legal in SMILES and is accepted in Rdkit, I receive the following error:

autode.exceptions.InvalidSmilesString: C[Br:1] had invalid characters:[‘:’]

This would be useful for enforcing/enabling the computation of isomorphic reactions like [Br-:1].C[Br:2]>C[Br:1].[Br-:2]

To Reproduce molecule = ade.Molecule(smiles='C[Br:1]')

Expected behavior Generation of molecules with fixed atom indices.

Environment

  • Operating System: CentOS-7
  • Python version: 3.9.10
  • autodE version: 1.2.1

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ffmulkscommented, May 19, 2022

Lovely! Just in time for the student starting in my lab who will work on the project. 😄

1reaction
ffmulkscommented, Apr 22, 2022

Until I encountered my current somewhat odd research question where kinetics of such reactions became interesting to me, I was also neither aware of the possibility nor need for this. Oh I see, in the openSMILES definition the meaning of this seems to be arbitrary. RDKit implements it as enforced atom index.

Thanks for the reply and the pointers @t-young31! At the moment I am not quite familiar enough yet with the structure of autodE but I think I will be using it quite a lot and when I understood sufficiently how to implement this without breaking everything, I may try and give it a shot.

Read more comments on GitHub >

github_iconTop Results From Across the Web

read_data command - LAMMPS documentation
This rule is applied to all occurrences of atom IDs in the data file, e.g. in the Velocity or Bonds section. This is...
Read more >
Tutorial:Ramachandran principle and phi psi angles
In fact, most Phi and Psi angle combinations are impossible because two atoms cannot occupy the same space. Check Show Clashes to see...
Read more >
The Coot User Manual - MRC Laboratory of Molecular Biology
Select “Regularize” from the “Model/Fit/Refine” dialog and click on 2 atoms to define the zone (you can of course click on the same...
Read more >
The Atom An atom is the smallest particle of an element
An atom is the smallest particle of an element, having the same chemical properties as the bulk element. The first accurate theory explaining...
Read more >
Jmol/JSmol Interactive Script Documentation
Atom bitsets specify a group of atoms in the overall collection (not just one model). Numbers are atom indices, which start with 0...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found