<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:10pt"><div>Alright.. <br><br>I actually simulated my protein for 5ns. Then I loaded the trajectory file and .gro file in vmd. Then, I extracted one of the frame and write it into pdb format, When I open it with vmd, one of the atom from a residue is connected to another atom in another residue. Things like this happens as VMD uses a distance-based bond determination heuristic. Therefore, I would need a structure file which  specifies the bonds for my structure so that VMD doesn't have to guess.<br><br>So how can I generate the structure file I needed?<br><br>Thanks.<br><br>Regards,<br>Joyce<br><br></div><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;"><font face="Tahoma" size="2"><hr size="1"><b><span
 style="font-weight: bold;">From:</span></b> Justin A. Lemkul &lt;jalemkul@vt.edu&gt;<br><b><span style="font-weight: bold;">To:</span></b> Gromacs Users' List &lt;gmx-users@gromacs.org&gt;<br><b><span style="font-weight: bold;">Sent:</span></b> Wednesday, October 20, 2010 2:25:26<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [gmx-users] top2psf.pl is generating some bonds to atoms with index 0.<br></font><br><br><br>Kwee Hong wrote:<br>&gt; I executed the script at the therminal by typing<br>&gt; perl top2psf.pl -i topol.top -o zz.psf<br>&gt; Here, I attached my input file.<br>&gt; <br><br>Your topology does not correspond to a MARTINI coarse-grained topology.&nbsp; As such, probably a bunch of the pattern matching is getting incorrect information.&nbsp; You cannot use top2psf.pl with this type of topology.&nbsp; It was created for a very specific purpose and requires that format, nothing else.<br><br>-Justin<br><br>&gt;
 ------------------------------------------------------------------------<br>&gt; *From:* Justin A. Lemkul &lt;<a ymailto="mailto:jalemkul@vt.edu" href="mailto:jalemkul@vt.edu">jalemkul@vt.edu</a>&gt;<br>&gt; *To:* Discussion list for GROMACS users &lt;<a ymailto="mailto:gmx-users@gromacs.org" href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a>&gt;<br>&gt; *Sent:* Wednesday, October 20, 2010 2:14:34<br>&gt; *Subject:* Re: [gmx-users] top2psf.pl is generating some bonds to atoms with index 0.<br>&gt; <br>&gt; <br>&gt; <br>&gt; Kwee Hong wrote:<br>&gt;&nbsp; &gt; Hi,<br>&gt;&nbsp; &gt;<br>&gt;&nbsp; &gt; I've got a top2psf.pl script from the web and used it to generate a psf file. Yet it generated&nbsp; some bonds to atoms with index 0 which should not occur.&nbsp; It causes VMD cannot load it and had a segmentation fault.<br>&gt;&nbsp; &gt; vmd &gt; Info) Using plugin psf for structure file /home/birg/Desktop/zz.psf<br>&gt;&nbsp; &gt; ERROR)
 Error reading bond information.<br>&gt;&nbsp; &gt; Segmentation fault<br>&gt;&nbsp; &gt;<br>&gt;&nbsp; &gt; I wonder am I getting the right top2psf.pl.&nbsp; Or is there any place I can get the latest stable version of that script?<br>&gt;&nbsp; &gt;<br>&gt; <br>&gt; There is only one version.&nbsp; Zeros are only printed if something goes wrong, i.e. you have provided the wrong input or something else has failed.<br>&gt; <br>&gt; Based solely on the information you've provided I cannot diagnose what has gone wrong.<br>&gt; <br>&gt; -Justin<br>&gt; <br>&gt;&nbsp; &gt; Here, I attached the perl script I used.<br>&gt;&nbsp; &gt;<br>&gt;&nbsp; &gt; Thanks.<br>&gt;&nbsp; &gt;<br>&gt;&nbsp; &gt; Regards,<br>&gt;&nbsp; &gt; Joyce<br>&gt;&nbsp; &gt;<br>&gt; <br>&gt; -- ========================================<br>&gt; <br>&gt; Justin A. Lemkul<br>&gt; Ph.D. Candidate<br>&gt; ICTAS Doctoral Scholar<br>&gt; MILES-IGERT Trainee<br>&gt; Department of
 Biochemistry<br>&gt; Virginia Tech<br>&gt; Blacksburg, VA<br>&gt; jalemkul[at]vt.edu | (540) 231-9080<br>&gt; <a href="http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin" target="_blank">http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin</a><br>&gt; <br>&gt; ========================================<br>&gt; -- gmx-users mailing list&nbsp; &nbsp; <a ymailto="mailto:gmx-users@gromacs.org" href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a> &lt;mailto:<a ymailto="mailto:gmx-users@gromacs.org" href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a>&gt;<br>&gt; <a href="http://lists.gromacs.org/mailman/listinfo/gmx-users" target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-users</a><br>&gt; Please search the archive at <a href="http://www.gromacs.org/Support/Mailing_Lists/Search" target="_blank">http://www.gromacs.org/Support/Mailing_Lists/Search</a> before posting!<br>&gt; Please don't post (un)subscribe requests to the
 list. Use the www interface or send it to <a ymailto="mailto:gmx-users-request@gromacs.org" href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a> &lt;mailto:<a ymailto="mailto:gmx-users-request@gromacs.org" href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a>&gt;.<br>&gt; Can't post? Read <a href="http://www.gromacs.org/Support/Mailing_Lists" target="_blank">http://www.gromacs.org/Support/Mailing_Lists</a><br>&gt; <br><br>-- ========================================<br><br>Justin A. Lemkul<br>Ph.D. Candidate<br>ICTAS Doctoral Scholar<br>MILES-IGERT Trainee<br>Department of Biochemistry<br>Virginia Tech<br>Blacksburg, VA<br>jalemkul[at]vt.edu | (540) 231-9080<br><a href="http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin" target="_blank">http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin</a><br><br>========================================<br>-- gmx-users mailing list&nbsp; &nbsp; <a
 ymailto="mailto:gmx-users@gromacs.org" href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><br><a href="http://lists.gromacs.org/mailman/listinfo/gmx-users" target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-users</a><br>Please search the archive at <a href="http://www.gromacs.org/Support/Mailing_Lists/Search" target="_blank">http://www.gromacs.org/Support/Mailing_Lists/Search</a> before posting!<br>Please don't post (un)subscribe requests to the list. Use the www interface or send it to <a ymailto="mailto:gmx-users-request@gromacs.org" href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a>.<br>Can't post? Read <a href="http://www.gromacs.org/Support/Mailing_Lists" target="_blank">http://www.gromacs.org/Support/Mailing_Lists</a><br></div></div>
</div><br></body></html>