<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:10pt"><div><span style="font-family: times new roman,new york,times,serif;">On </span><font style="font-family: times new roman,new york,times,serif;" face="Tahoma" size="2">Sun, November 8, 2009 at 5:31:30 PM, </font><font style="font-family: times new roman,new york,times,serif;" face="Tahoma" size="2">Gunnar Widtfeldt Reginsson<br>&lt;reginsson@gmail.com&gt; wrote:</font><br style="font-family: times new roman,new york,times,serif;"><br>&gt; I have a small organic molecule that I processed with antechamber
using the gaff forcefield<br>&gt; and got a mol2 file. I want to get .gro and.
itp files from this to use with GROMACS. So I tried<br>&gt; to use the program
"topolbuild version 1.2" from the GROMACS website.</div>
<div>&gt; <br class="webkit-block-placeholder"></div><div>&gt; when I execute the command:</div><div>&gt; "topolbuild -dir ../ -ff gaff -n nameofmolecule -r SL -last 1241 -resnum 40"<br class="webkit-block-placeholder"></div><div>&gt; 
I get this error message:</div><div>&gt; Fatal error.</div><div>&gt; Source code file: readmol2.c, line: 109</div><div>&gt; Atomic symbol cc in atom type not found.</div><div>&gt; </div><div>&gt; When
I excecute the topolbuild above I use -dir ../ because that should take
the program<br>&gt; to the directory containing dat/antechamber and etc. which
actually comes with the<br>&gt; topolbuild 1.2 package</div>
<div>&gt; </div><div>&gt; I don't know what to do and I have tried searching this mailing list and google without sucess.</div><div>&gt; </div><div>&gt; Can someone please help me?</div><div><br>First, the mol2 file that you are using is not syntactically correct because it is using<br>gaff atom types and not Tripos' Sybyl atom types.&nbsp; A syntactically correct mol2 file<br>would not have atom type cc.&nbsp; Please process your organic molecule against the<br>Sybyl force field to get a correct mol2 file.<br><br>Second, there are a number of bug fixes I have placed in this list for version 1.2.1<br>which is the version I hope you are using.&nbsp;&nbsp; The following diffs should be applied:<br><br><font size="2"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">diff topolbuild1_2_1/src/Makefile topolbuild1_2_2/src/Makefile</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family:
 Courier New,courier,monaco,monospace,sans-serif;">22,23c22,29</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&lt; $(PROGRAM): $(SOURCES)</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&lt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $(CC) -o $(PROGRAM) $(CFLAGS) $(SOURCES) -lm</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">---</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&gt; $(PROGRAM): $(OBJECTS)</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier
 New,courier,monaco,monospace,sans-serif;">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $(CC) -o $(PROGRAM) $(CFLAGS) $(OBJECTS) -lm</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&gt; </span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&gt; clean:</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rm -f *.o</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&gt; </span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier
 New,courier,monaco,monospace,sans-serif;">&gt; dist_clean:</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rm -f *.o $(PROGRAM)</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">diff topolbuild1_2_1/src/Makefile.G4OsX topolbuild1_2_2/src/Makefile.G4OsX</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">22,23c22,29</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&lt; $(PROGRAM): $(SOURCES)</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family:
 Courier New,courier,monaco,monospace,sans-serif;">&lt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $(CC) -o $(PROGRAM) $(CFLAGS) $(SOURCES) -lm</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">---</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&gt; $(PROGRAM): $(OBJECTS)</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $(CC) -o $(PROGRAM) $(CFLAGS) $(OBJECTS) -lm</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&gt; </span><br style="font-family: Courier
 New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&gt; clean:</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rm -f *.o</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&gt; </span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&gt; dist_clean:</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rm -f *.o $(PROGRAM)</span><br style="font-family: Courier
 New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">diff topolbuild1_2_1/src/ring_detect.c topolbuild1_2_2/src/ring_detect.c</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">450c450</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&lt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ar_set[(t_ring_atomno[i][j])][3]++;</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">---</span><br style="font-family: Courier
 New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ar_set[(t_ring_atomno[i][k])][3]++;</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">diff topolbuild1_2_1/src/topolbuild.c topolbuild1_2_2/src/topolbuild.c</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">440c440</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&lt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; max_rng =
 num_bonds/2;</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">---</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; max_rng = 3 * num_bonds/4;</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"></font><br>Also, when using Gromacs force fields, the defaults definition line needs to<br>be changed from:<br>&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; yes&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.5&nbsp;&nbsp;&nbsp;&nbsp; 0.8333<br>to:<br>&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;
 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; no&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1.0&nbsp;&nbsp;&nbsp;&nbsp; 1.0<br><br>Unfortunately, I did not allow for different defaults for different force fields<br>in that version.&nbsp; The next version will correct that as well as adding OPLSAA<br>to the suite of force fields available.<br><br><br>Sincerely,<br><br><br></div>-- <br>Bruce D. Ray, Ph.D.<br>Associate Scientist<br>IUPUI<br>Physics Dept.<br>402 N. Blackford St.<br>Indianapolis, IN  46202-3273<div><br></div>
<!-- cg23.c1.mail.mud.yahoo.com compressed/chunked Mon Nov  9 04:17:07 PST 2009 -->
</div><br>

      </body></html>