Open davidoskky opened 1 month ago
only one is converted to PDBQT but the smiles remark contains both molecules
Can confirm this, for smilar Smiles, obabel might generate a multi-fragment PDBQT file which is also not instantly ready for docking. Smiles containing a dot isn't necessarily incorrect, though. It might be helpful for Meeko to be able to "desalt" Smiles that comes from some chemical libraries that have drugs in the pharmaceutical salt form. When the inputs are salts, obabel might neutralize (add additional hydrogens to, and create a new root for) anions like [Cl-]
When providing more than one molecule, only one is converted to PDBQT but the smiles remark contains both molecules. This could be considered incorrect input, however it does not raise an error when generating a PDBQT file but only when converting back to SDF.
I feel it would be better to immediately signal the input is not correct.
To Reproduce