Re: [gmx-users] No group in index file?
On 10/31/13 5:03 PM, Xu Dong Huang wrote: @ Justin, Excellent advice. Thank you! And for the equilibrium angle, what is the approximate range I can define it to be? Say target is 90 degrees, should I define maybe 130 and let it oscillate? I guess question is how far is too far off? This is what I meant about a predefined outcome. If you set the equilibrium value of the angle at 130 degrees, you're going to get a distribution centered at 130 degrees. The odds of it sampling any configurations at 90 degrees are a function of the force constant, but still would be rare, so this approach makes no sense to me (there is a huge difference between 90 and 130). If the target is 90, set it for 90. Tune the force constant to match the distribution. -Justin Thanks, On Oct 31, 2013, at 4:48 PM, Justin Lemkul wrote: On 10/31/13 4:44 PM, Xu Dong Huang wrote: @ Justin, I did not define [angles] in the topology but I do have the angles result from All-atom run using OPLS forcefield. The reason for me not to include it in MARTINI forcefield topology is because I wanted to see if it will produce similar angle result of atom 1&2, 1&3 and 2&3 in martini water since the behavior of particle types I chose for my 3 atoms are well defined by martini at this point. My interest is to find for which force constant K value will the martini model match the all-atom model using OPLS. And you’re right, sorry, I got confused about the angles, there should only be 1. However, even the angle value I received doesn’t match the traditional all-atom result. What will happen if I define the [angles] part with the angles I received from traditional simulation? Because ultimately I am trying to find the k value parameter that will make the 3 particle display an angle similar to traditional run. If you define an equilibrium angle for 1-2-3, it will oscillate harmonically around that value, with the distribution determined by the value of k. I suspect that is how you can tune the parameters, by matching the distributions produced in the two simulations rather than a single target value, because with the angle defined in the topology, you're sort of predetermining the outcome. -Justin -- == Justin A. Lemkul, Ph.D. Postdoctoral Fellow Department of Pharmaceutical Sciences School of Pharmacy Health Sciences Facility II, Room 601 University of Maryland, Baltimore 20 Penn St. Baltimore, MD 21201 [email protected] | (410) 706-7441 == -- gmx-users mailing [email protected] http://lists.gromacs.org/mailman/listinfo/gmx-users * Please search the archive at http://www.gromacs.org/Support/Mailing_Lists/Search before posting! * Please don't post (un)subscribe requests to the list. Use the www interface or send it to [email protected]. * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists -- == Justin A. Lemkul, Ph.D. Postdoctoral Fellow Department of Pharmaceutical Sciences School of Pharmacy Health Sciences Facility II, Room 601 University of Maryland, Baltimore 20 Penn St. Baltimore, MD 21201 [email protected] | (410) 706-7441 == -- gmx-users mailing [email protected] http://lists.gromacs.org/mailman/listinfo/gmx-users * Please search the archive at http://www.gromacs.org/Support/Mailing_Lists/Search before posting! * Please don't post (un)subscribe requests to the list. Use the www interface or send it to [email protected]. * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
Re: [gmx-users] No group in index file?
@ Justin, Excellent advice. Thank you! And for the equilibrium angle, what is the approximate range I can define it to be? Say target is 90 degrees, should I define maybe 130 and let it oscillate? I guess question is how far is too far off? Thanks, On Oct 31, 2013, at 4:48 PM, Justin Lemkul wrote: > > > On 10/31/13 4:44 PM, Xu Dong Huang wrote: >> @ Justin, >> >> I did not define [angles] in the topology but I do have the angles result >> from All-atom run using OPLS forcefield. The reason for me not to include it >> in MARTINI forcefield topology is because I wanted to see if it will produce >> similar angle result of atom 1&2, 1&3 and 2&3 in martini water since the >> behavior of particle types I chose for my 3 atoms are well defined by martini >> at this point. My interest is to find for which force constant K value will >> the martini model match the all-atom model using OPLS. >> >> And you’re right, sorry, I got confused about the angles, there should only >> be 1. However, even the angle value I received doesn’t match the traditional >> all-atom result. >> >> What will happen if I define the [angles] part with the angles I received >> from traditional simulation? Because ultimately I am trying to find the k >> value parameter that will make the 3 particle display an angle similar to >> traditional run. >> > > If you define an equilibrium angle for 1-2-3, it will oscillate harmonically > around that value, with the distribution determined by the value of k. I > suspect that is how you can tune the parameters, by matching the > distributions produced in the two simulations rather than a single target > value, because with the angle defined in the topology, you're sort of > predetermining the outcome. > > -Justin > > -- > == > > Justin A. Lemkul, Ph.D. > Postdoctoral Fellow > > Department of Pharmaceutical Sciences > School of Pharmacy > Health Sciences Facility II, Room 601 > University of Maryland, Baltimore > 20 Penn St. > Baltimore, MD 21201 > > [email protected] | (410) 706-7441 > > == > -- > gmx-users mailing [email protected] > http://lists.gromacs.org/mailman/listinfo/gmx-users > * Please search the archive at > http://www.gromacs.org/Support/Mailing_Lists/Search before posting! > * Please don't post (un)subscribe requests to the list. Use the www interface > or send it to [email protected]. > * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists -- gmx-users mailing [email protected] http://lists.gromacs.org/mailman/listinfo/gmx-users * Please search the archive at http://www.gromacs.org/Support/Mailing_Lists/Search before posting! * Please don't post (un)subscribe requests to the list. Use the www interface or send it to [email protected]. * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
Re: [gmx-users] No group in index file?
On 10/31/13 4:44 PM, Xu Dong Huang wrote: @ Justin, I did not define [angles] in the topology but I do have the angles result from All-atom run using OPLS forcefield. The reason for me not to include it in MARTINI forcefield topology is because I wanted to see if it will produce similar angle result of atom 1&2, 1&3 and 2&3 in martini water since the behavior of particle types I chose for my 3 atoms are well defined by martini at this point. My interest is to find for which force constant K value will the martini model match the all-atom model using OPLS. And you’re right, sorry, I got confused about the angles, there should only be 1. However, even the angle value I received doesn’t match the traditional all-atom result. What will happen if I define the [angles] part with the angles I received from traditional simulation? Because ultimately I am trying to find the k value parameter that will make the 3 particle display an angle similar to traditional run. If you define an equilibrium angle for 1-2-3, it will oscillate harmonically around that value, with the distribution determined by the value of k. I suspect that is how you can tune the parameters, by matching the distributions produced in the two simulations rather than a single target value, because with the angle defined in the topology, you're sort of predetermining the outcome. -Justin -- == Justin A. Lemkul, Ph.D. Postdoctoral Fellow Department of Pharmaceutical Sciences School of Pharmacy Health Sciences Facility II, Room 601 University of Maryland, Baltimore 20 Penn St. Baltimore, MD 21201 [email protected] | (410) 706-7441 == -- gmx-users mailing [email protected] http://lists.gromacs.org/mailman/listinfo/gmx-users * Please search the archive at http://www.gromacs.org/Support/Mailing_Lists/Search before posting! * Please don't post (un)subscribe requests to the list. Use the www interface or send it to [email protected]. * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
Re: [gmx-users] No group in index file?
@ Justin, I did not define [angles] in the topology but I do have the angles result from All-atom run using OPLS forcefield. The reason for me not to include it in MARTINI forcefield topology is because I wanted to see if it will produce similar angle result of atom 1&2, 1&3 and 2&3 in martini water since the behavior of particle types I chose for my 3 atoms are well defined by martini at this point. My interest is to find for which force constant K value will the martini model match the all-atom model using OPLS. And you’re right, sorry, I got confused about the angles, there should only be 1. However, even the angle value I received doesn’t match the traditional all-atom result. What will happen if I define the [angles] part with the angles I received from traditional simulation? Because ultimately I am trying to find the k value parameter that will make the 3 particle display an angle similar to traditional run. On Oct 31, 2013, at 4:26 PM, Justin Lemkul wrote: > > > On 10/31/13 4:22 PM, Xu Dong Huang wrote: >> @ Justin, >> >> That doesn’t sound very good. I tried it as he suggested using make_ndx, it >> seems to work, but it’s not reporting the result I want. When I use g_angle >> using the index i created, I chose the group I want to assess (My compound is >> very simple in Martini, it’s only represented by 3 atoms) and it reports back >> to me 1 angle value. However, I wish to assess the angle between atom 1 & 2, >> 2&3 and 1&3. How should I go about achieving that? >> > > If you have 3 atoms/particles, there can be only one angle, by definition. > > Do you have an [angles] directive in the topology? That's how mk_angndx > parses the .tpr file - by creating groups of similar angles based on theta > and ktheta. If your model doesn't specify any angle potential, then > mk_angndx will bail out and return nothing, though it should probably do that > in a more elegant way than producing an empty file. > > -Justin > > -- > == > > Justin A. Lemkul, Ph.D. > Postdoctoral Fellow > > Department of Pharmaceutical Sciences > School of Pharmacy > Health Sciences Facility II, Room 601 > University of Maryland, Baltimore > 20 Penn St. > Baltimore, MD 21201 > > [email protected] | (410) 706-7441 > > == > -- > gmx-users mailing [email protected] > http://lists.gromacs.org/mailman/listinfo/gmx-users > * Please search the archive at > http://www.gromacs.org/Support/Mailing_Lists/Search before posting! > * Please don't post (un)subscribe requests to the list. Use the www interface > or send it to [email protected]. > * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists -- gmx-users mailing [email protected] http://lists.gromacs.org/mailman/listinfo/gmx-users * Please search the archive at http://www.gromacs.org/Support/Mailing_Lists/Search before posting! * Please don't post (un)subscribe requests to the list. Use the www interface or send it to [email protected]. * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
Re: [gmx-users] No group in index file?
On 10/31/13 4:22 PM, Xu Dong Huang wrote: @ Justin, That doesn’t sound very good. I tried it as he suggested using make_ndx, it seems to work, but it’s not reporting the result I want. When I use g_angle using the index i created, I chose the group I want to assess (My compound is very simple in Martini, it’s only represented by 3 atoms) and it reports back to me 1 angle value. However, I wish to assess the angle between atom 1 & 2, 2&3 and 1&3. How should I go about achieving that? If you have 3 atoms/particles, there can be only one angle, by definition. Do you have an [angles] directive in the topology? That's how mk_angndx parses the .tpr file - by creating groups of similar angles based on theta and ktheta. If your model doesn't specify any angle potential, then mk_angndx will bail out and return nothing, though it should probably do that in a more elegant way than producing an empty file. -Justin -- == Justin A. Lemkul, Ph.D. Postdoctoral Fellow Department of Pharmaceutical Sciences School of Pharmacy Health Sciences Facility II, Room 601 University of Maryland, Baltimore 20 Penn St. Baltimore, MD 21201 [email protected] | (410) 706-7441 == -- gmx-users mailing [email protected] http://lists.gromacs.org/mailman/listinfo/gmx-users * Please search the archive at http://www.gromacs.org/Support/Mailing_Lists/Search before posting! * Please don't post (un)subscribe requests to the list. Use the www interface or send it to [email protected]. * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
Re: [gmx-users] No group in index file?
@ Justin, That doesn’t sound very good. I tried it as he suggested using make_ndx, it seems to work, but it’s not reporting the result I want. When I use g_angle using the index i created, I chose the group I want to assess (My compound is very simple in Martini, it’s only represented by 3 atoms) and it reports back to me 1 angle value. However, I wish to assess the angle between atom 1 & 2, 2&3 and 1&3. How should I go about achieving that? Thanks, Xu Huang On Oct 31, 2013, at 4:16 PM, Justin Lemkul wrote: > > > On 10/31/13 3:59 PM, Riccardo Concu wrote: >> Dear Xu, >> you have to use the make_ndx option if I'm not wrong. >> The syntax should be make_ndx -f xxx.gro -o index.ndx > > make_ndx is not particularly useful for angles. To get it to recapitulate > the function of mk_angndx, it's as much work as writing the index file by > hand. > > -Justin > > -- > == > > Justin A. Lemkul, Ph.D. > Postdoctoral Fellow > > Department of Pharmaceutical Sciences > School of Pharmacy > Health Sciences Facility II, Room 601 > University of Maryland, Baltimore > 20 Penn St. > Baltimore, MD 21201 > > [email protected] | (410) 706-7441 > > == > -- > gmx-users mailing [email protected] > http://lists.gromacs.org/mailman/listinfo/gmx-users > * Please search the archive at > http://www.gromacs.org/Support/Mailing_Lists/Search before posting! > * Please don't post (un)subscribe requests to the list. Use the www interface > or send it to [email protected]. > * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists -- gmx-users mailing [email protected] http://lists.gromacs.org/mailman/listinfo/gmx-users * Please search the archive at http://www.gromacs.org/Support/Mailing_Lists/Search before posting! * Please don't post (un)subscribe requests to the list. Use the www interface or send it to [email protected]. * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
Re: [gmx-users] No group in index file?
On 10/31/13 3:59 PM, Riccardo Concu wrote: Dear Xu, you have to use the make_ndx option if I'm not wrong. The syntax should be make_ndx -f xxx.gro -o index.ndx make_ndx is not particularly useful for angles. To get it to recapitulate the function of mk_angndx, it's as much work as writing the index file by hand. -Justin -- == Justin A. Lemkul, Ph.D. Postdoctoral Fellow Department of Pharmaceutical Sciences School of Pharmacy Health Sciences Facility II, Room 601 University of Maryland, Baltimore 20 Penn St. Baltimore, MD 21201 [email protected] | (410) 706-7441 == -- gmx-users mailing [email protected] http://lists.gromacs.org/mailman/listinfo/gmx-users * Please search the archive at http://www.gromacs.org/Support/Mailing_Lists/Search before posting! * Please don't post (un)subscribe requests to the list. Use the www interface or send it to [email protected]. * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
Re: [gmx-users] No group in index file?
On 10/31/13 3:52 PM, Xu Dong Huang wrote: Dear all, so after I opened angle.ndx file in a text editor, the file appears to be blank. How can I properly make a index file since the command I issued seems to produce a blank index file? Is there something wrong with my input regarding npt.tpr? What version of Gromacs are you using? With 4.6.3, I get sensible output. -Justin Thanks for your input, Xu Huang On Oct 31, 2013, at 1:38 PM, Justin Lemkul wrote: On 10/31/13 1:36 PM, Xu Dong Huang wrote: Dear all. Since I am interested in finding the average angle, dihedrals in my system, I attempted to use g_angle, but then I realized I need to make index file using mk_angndx, I issued the following: mk_angndx -s npt.tpr -n angle.ndx and then i used g_angle -f not.xtc -n angle.ndx -ov angle.xvg -noperiodic -type angle and then I get the following error: Fatal error: Error: no groups in indexfile How can my index file not have the groups in there? How can I go about fixing this Inspect it with a text editor and/or gmxcheck. -Justin -- == Justin A. Lemkul, Ph.D. Postdoctoral Fellow Department of Pharmaceutical Sciences School of Pharmacy Health Sciences Facility II, Room 601 University of Maryland, Baltimore 20 Penn St. Baltimore, MD 21201 [email protected] | (410) 706-7441 == -- gmx-users mailing [email protected] http://lists.gromacs.org/mailman/listinfo/gmx-users * Please search the archive at http://www.gromacs.org/Support/Mailing_Lists/Search before posting! * Please don't post (un)subscribe requests to the list. Use the www interface or send it to [email protected]. * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists -- == Justin A. Lemkul, Ph.D. Postdoctoral Fellow Department of Pharmaceutical Sciences School of Pharmacy Health Sciences Facility II, Room 601 University of Maryland, Baltimore 20 Penn St. Baltimore, MD 21201 [email protected] | (410) 706-7441 == -- gmx-users mailing [email protected] http://lists.gromacs.org/mailman/listinfo/gmx-users * Please search the archive at http://www.gromacs.org/Support/Mailing_Lists/Search before posting! * Please don't post (un)subscribe requests to the list. Use the www interface or send it to [email protected]. * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
Re: [gmx-users] No group in index file?
Dear Xu, you have to use the make_ndx option if I'm not wrong. The syntax should be make_ndx -f xxx.gro -o index.ndx Cheers, -Original Message- From: Xu Dong Huang Sent: Thursday, October 31, 2013 8:52 PM To: Discussion list for GROMACS users Subject: Re: [gmx-users] No group in index file? Dear all, so after I opened angle.ndx file in a text editor, the file appears to be blank. How can I properly make a index file since the command I issued seems to produce a blank index file? Is there something wrong with my input regarding npt.tpr? Thanks for your input, Xu Huang On Oct 31, 2013, at 1:38 PM, Justin Lemkul wrote: On 10/31/13 1:36 PM, Xu Dong Huang wrote: Dear all. Since I am interested in finding the average angle, dihedrals in my system, I attempted to use g_angle, but then I realized I need to make index file using mk_angndx, I issued the following: mk_angndx -s npt.tpr -n angle.ndx and then i used g_angle -f not.xtc -n angle.ndx -ov angle.xvg -noperiodic -type angle and then I get the following error: Fatal error: Error: no groups in indexfile How can my index file not have the groups in there? How can I go about fixing this Inspect it with a text editor and/or gmxcheck. -Justin -- == Justin A. Lemkul, Ph.D. Postdoctoral Fellow Department of Pharmaceutical Sciences School of Pharmacy Health Sciences Facility II, Room 601 University of Maryland, Baltimore 20 Penn St. Baltimore, MD 21201 [email protected] | (410) 706-7441 == -- gmx-users mailing [email protected] http://lists.gromacs.org/mailman/listinfo/gmx-users * Please search the archive at http://www.gromacs.org/Support/Mailing_Lists/Search before posting! * Please don't post (un)subscribe requests to the list. Use the www interface or send it to [email protected]. * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists -- gmx-users mailing [email protected] http://lists.gromacs.org/mailman/listinfo/gmx-users * Please search the archive at http://www.gromacs.org/Support/Mailing_Lists/Search before posting! * Please don't post (un)subscribe requests to the list. Use the www interface or send it to [email protected]. * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists -- gmx-users mailing [email protected] http://lists.gromacs.org/mailman/listinfo/gmx-users * Please search the archive at http://www.gromacs.org/Support/Mailing_Lists/Search before posting! * Please don't post (un)subscribe requests to the list. Use the www interface or send it to [email protected]. * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
Re: [gmx-users] No group in index file?
Dear all, so after I opened angle.ndx file in a text editor, the file appears to be blank. How can I properly make a index file since the command I issued seems to produce a blank index file? Is there something wrong with my input regarding npt.tpr? Thanks for your input, Xu Huang On Oct 31, 2013, at 1:38 PM, Justin Lemkul wrote: > > > On 10/31/13 1:36 PM, Xu Dong Huang wrote: >> Dear all. >> >> Since I am interested in finding the average angle, dihedrals in my system, >> I attempted to use g_angle, but then I realized I need to make index file >> using mk_angndx, >> >> I issued the following: >> mk_angndx -s npt.tpr -n angle.ndx >> >> and then i used g_angle -f not.xtc -n angle.ndx -ov angle.xvg -noperiodic >> -type angle >> >> and then I get the following error: >> Fatal error: >> Error: no groups in indexfile >> >> How can my index file not have the groups in there? How can I go about >> fixing this >> > > Inspect it with a text editor and/or gmxcheck. > > -Justin > > -- > == > > Justin A. Lemkul, Ph.D. > Postdoctoral Fellow > > Department of Pharmaceutical Sciences > School of Pharmacy > Health Sciences Facility II, Room 601 > University of Maryland, Baltimore > 20 Penn St. > Baltimore, MD 21201 > > [email protected] | (410) 706-7441 > > == > -- > gmx-users mailing [email protected] > http://lists.gromacs.org/mailman/listinfo/gmx-users > * Please search the archive at > http://www.gromacs.org/Support/Mailing_Lists/Search before posting! > * Please don't post (un)subscribe requests to the list. Use the www interface > or send it to [email protected]. > * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists -- gmx-users mailing [email protected] http://lists.gromacs.org/mailman/listinfo/gmx-users * Please search the archive at http://www.gromacs.org/Support/Mailing_Lists/Search before posting! * Please don't post (un)subscribe requests to the list. Use the www interface or send it to [email protected]. * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
Re: [gmx-users] No group in index file?
On 10/31/13 1:36 PM, Xu Dong Huang wrote: Dear all. Since I am interested in finding the average angle, dihedrals in my system, I attempted to use g_angle, but then I realized I need to make index file using mk_angndx, I issued the following: mk_angndx -s npt.tpr -n angle.ndx and then i used g_angle -f not.xtc -n angle.ndx -ov angle.xvg -noperiodic -type angle and then I get the following error: Fatal error: Error: no groups in indexfile How can my index file not have the groups in there? How can I go about fixing this Inspect it with a text editor and/or gmxcheck. -Justin -- == Justin A. Lemkul, Ph.D. Postdoctoral Fellow Department of Pharmaceutical Sciences School of Pharmacy Health Sciences Facility II, Room 601 University of Maryland, Baltimore 20 Penn St. Baltimore, MD 21201 [email protected] | (410) 706-7441 == -- gmx-users mailing [email protected] http://lists.gromacs.org/mailman/listinfo/gmx-users * Please search the archive at http://www.gromacs.org/Support/Mailing_Lists/Search before posting! * Please don't post (un)subscribe requests to the list. Use the www interface or send it to [email protected]. * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists

