Defining atom indices impossible(?)
See original GitHub issueDescribe 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:
- Created a year ago
- Comments:7 (3 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Lovely! Just in time for the student starting in my lab who will work on the project. 😄
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.