I am using the Erlwood Chemical File Writer to write my compounds as an sdf file. However, when I open the compounds in another program, the compound names are missing. I can’t seem to find an option anywhere to select which column to use for compound names. Is there a workaround?
Is there a reason you’re not using the built-in SDF Writer node?
It doesn’t keep the hydrogens as explicit. The second program I’m using requires all atoms including hydrogens to be explicit. I couldn’t find the option for this, but the chemical file writer node does keep these hydrogens.
I did find a workaround, but it might not work for all cases. My compound names were in another column, so I concatenated the two columns with the Column Aggregator node, then used the string to compound node from Erlwood. This gave me my compounds with explicit hydrogens and with a compound name.
But if there is an option in the SDF writer that keeps all atoms explicit that would be great.
That’s interesting. I’ve found that using a Hydrogen Adder node and a Generate 2D Coordinates node (or the 3D coordinates node) before the SDF Writer gives me SD files that contain hydrogens in the connection table along with their coordinates.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.