User 80db122f02
10-04-2007 00:16:12
There are a couple things I want to address:
1) molconvert does not handle mol2 files properly:
I'm converting SMILES to mol2. However, for the molconverted @<TRIPOS>ATOM it does not properly generate the atom_type, and does not generate a substructure id, substructure name, or charge; it does not create a @<TRIPOS>SUBSTRUCTURE section at all.
I've found that SYBYL needs all this information to correctly open a mol2 file. If some information is missing it assigns dummy atom values.
In order to fix this, I wrote a short program that would take the mol2 output of molconvert and "fix" it by adding in the required information.
This leads to the second issue:
2) I open my "fixed" mol2 files in SYBYL and have it add hydrogens. Some aromtic carbons get hydrogenated, when they shouldn't be. The mol2 file correctly lists their atom_type as C.ar. On manually changing them to C.2 I get some of the atoms to display the correct number of bonds, but not all.
Does anyone have any experience with something like this? I might be overlooking something really simple.
Attached are the output of molconvert and the "fixed" version of the same file.
1) molconvert does not handle mol2 files properly:
I'm converting SMILES to mol2. However, for the molconverted @<TRIPOS>ATOM it does not properly generate the atom_type, and does not generate a substructure id, substructure name, or charge; it does not create a @<TRIPOS>SUBSTRUCTURE section at all.
I've found that SYBYL needs all this information to correctly open a mol2 file. If some information is missing it assigns dummy atom values.
In order to fix this, I wrote a short program that would take the mol2 output of molconvert and "fix" it by adding in the required information.
This leads to the second issue:
2) I open my "fixed" mol2 files in SYBYL and have it add hydrogens. Some aromtic carbons get hydrogenated, when they shouldn't be. The mol2 file correctly lists their atom_type as C.ar. On manually changing them to C.2 I get some of the atoms to display the correct number of bonds, but not all.
Does anyone have any experience with something like this? I might be overlooking something really simple.
Attached are the output of molconvert and the "fixed" version of the same file.