<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Thank you for your reply, <br><br>I have been using [ position_restraints ], I do not know why it came out that way in the mail. <br>I agree with you, the problem probably comes from the position the code lies in inside the .top file. I put it at the end of the file because I thought that was the way it was supposed to be done. Perhaps this is incorrect. <br><br>The final lines of the .top file are: <br><br>Include generic topology for ions<br>#include "ions.itp"<br><br>[ system ]<br>; Name<br>Protein<br><br>[ molecules ]<br>; Compound&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #mols<br>Protein_A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br><br>[ position_restraints ]<br>2 1 1000 0 1000 ;<br>3 1 1000 0 1000 ;<br>4 1 1000 0 1000 ;<br>5 1 1000 0 1000 ;<br>6 1 1000 0 1000 ;<br>7 1 1000 0 1000 ;<br>8 1 1000 0 1000 ;<br>9 1 1000 0 1000 ;<br><br>&nbsp;<br><br>&gt; Date: Thu, 3 Jun 2010 09:00:36 -0400<br>&gt; From: jalemkul@vt.edu<br>&gt; To: gmx-users@gromacs.org<br>&gt; Subject: Re: [gmx-users] position restraints<br>&gt; <br>&gt; <br>&gt; <br>&gt; abdullah ahmed wrote:<br>&gt; &gt; Hello,<br>&gt; &gt; <br>&gt; &gt; I would like to restrain my molecule to a specific position in space. I <br>&gt; &gt; would like for certain atoms to lie on the y-axis. To do this I used  <br>&gt; &gt; the following code/lines in my .top file:<br>&gt; &gt; <br>&gt; &gt; [ position restraints ]<br>&gt; <br>&gt; This is an incorrect directive.  It should be position_restraints.<br>&gt; <br>&gt; &gt; 2 1 1000 0 1000 ;<br>&gt; &gt; 3 1 1000 0 1000 ;<br>&gt; &gt; 4 1 1000 0 1000 ;<br>&gt; &gt; 5 1 1000 0 1000 ;<br>&gt; &gt; 6 1 1000 0 1000 ;<br>&gt; &gt; 7 1 1000 0 1000 ;<br>&gt; &gt; 8 1 1000 0 1000 ;<br>&gt; &gt; 9 1 1000 0 1000 ;<br>&gt; &gt; <br>&gt; &gt; Unfortunately, after minimization my file contained the molecule in the <br>&gt; &gt; same position as when the restraints were not applied.<br>&gt; &gt; <br>&gt; &gt; Does anyone know what I am doing wrong?<br>&gt; &gt; <br>&gt; <br>&gt; Perhaps the directive name is an issue, although I think grompp should have <br>&gt; raised a warning of some sort.  Otherwise, is this block within the appropriate <br>&gt; [moleculetype] in the topology?  Is it under control of an #ifdef block that you <br>&gt; haven't invoked in the .mdp file?<br>&gt; <br>&gt; -Justin<br>&gt; <br>&gt; &gt; Thanks in advance,<br>&gt; &gt; Abdullah<br>&gt; &gt; <br>&gt; &gt; ------------------------------------------------------------------------<br>&gt; &gt; Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. Sign up <br>&gt; &gt; now. &lt;https://signup.live.com/signup.aspx?id=60969&gt;<br>&gt; &gt; <br>&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; http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin<br>&gt; <br>&gt; ========================================<br>&gt; -- <br>&gt; gmx-users mailing list    gmx-users@gromacs.org<br>&gt; http://lists.gromacs.org/mailman/listinfo/gmx-users<br>&gt; Please search the archive at http://www.gromacs.org/search before posting!<br>&gt; Please don't post (un)subscribe requests to the list. Use the <br>&gt; www interface or send it to gmx-users-request@gromacs.org.<br>&gt; Can't post? Read http://www.gromacs.org/mailing_lists/users.php<br>                                               <br><hr>Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. <a href="https://signup.live.com/signup.aspx?id=60969">Sign up now.</a>                                               <br /><hr />Hotmail: Powerful Free email with security by Microsoft. <a href='https://signup.live.com/signup.aspx?id=60969' target='_new'>Get it now.</a></body>
</html>