Hi,
When taking an SDF, it is possible to highlight one or more atoms within it for manipulation at a future point. (From in-house nodes and MOE nodes (Atom Selector)).
However I notice that if this SDF with selected atoms is converted to Indigo and then back to SDF, the settings for these selected atoms become lost.
Is it possible to have this feature retained through the Indigo nodes. I assume this information is kept in the SDF block, which gets lost during the Indigo conversions.
THanks,
Simon.
Hi Simon,
you're right. The selected atoms are stored in the sdf block as:
> <selected_atoms>
1,2,3
where 1 2 and 3 are the indices of the selected atoms.
I hope this information helps others to support that feature.
Best regards
Guido
Hello Simon and Guido,
Mikhail
Hi Mikhail,
Thanks for the implementation of this, its working great. I see this works well with the substructure highlighting that was already implemented a while back, which is super.
For the output as string from the Molecule Property node, I think this is fine. I can see positives and negatives for either string or collection column. As the output is comma separated it could easily be transformed to a collection column later if needed.
I notice the highlighted atoms are still present after converting out from Indigo to SDF which is just what I wanted.
Thanks for this,
Simon.
Hi Simon,
Yes, Molfile format supports highlighting and we are saving highlighted atoms and bonds into molfile. One potential issue is that if a molecule is saving in SMILES then atom ordering can be different and the "highlighted atoms" indices can be invalid. But we are saving highlighted atoms in SMILES too via extension string.
Mikhail
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.