Discussion:
[gmx-users] protein in SDS/water
Anna Marabotti
2009-06-17 07:11:13 UTC
Permalink
Dear gmx-users,
I would like to setup a simulation of a protein in a mixture SDS/water using GROMACS 3.3.1.
I proceeded in this way:

- after pdb2gmx, I created with editconf a cubic box of 10 nm per side centered on my protein:
editconf -f my_prot.gro -o my_prot_box.gro -bt cubic -box 10 -c

- then I used genbox to fill the box with water and to add the desired quantity of SDS (to simulate 3.5 M SDS
I added approx. 2000 molecules of SDS to the box). I obtained the coordinates of SDS from a pdb file and then
used PRODRG server to create the topology and the coordinate in .gro format. The command was:
genbox -cp my_prot_box.gro -cs spc216.gro -ci SDS.gro -nmol 2000 -o my_prot_boxsolv.gro -p my_prot.top

The output of this command is a .gro file in which the protein is at the centre of the cubic box, filled with
approx. 36000 water molecules and 2000 molecules of SDS. I had a look at it with VMD, and all seems to be OK.
The only "strange" thing is that the SDS molecules are not considered as "solvent" molecules.

The problem comes when I'm starting to minimize this box. When I use grompp:
grompp -f em.mdp -c my_prot_boxsolv.gro -o my_prot_mini.tpr -p my_prot.top

the program returns the error:
Fatal error:
number of coordinates in coordinate file (my_prot_boxsolv.gro, 144801) does not match topology (my_prot.top,
0)

I tried to manually edit the .top file by adding the number of SDS molecules under the section [ molecules ],
I also added manually "SDS.itp" to the topology file, but all was useless. I don't really know especially why
GROMACS claims that the number of coordinates in the topology is 0, since at least the protein is present.
What's wrong? I saw many procedures to create mixed solvents for a simulation, but I don't know what is the
better one. However, genbox -nmol -ci seems perfect for me and apparently it functions in creating the system.
So why the topology file is not updated by genbox? Or in case, could you suggest me a better procedure to add
3.5 M SDS to my protein in water?

Thank you and best regards
Anna

I tried to copy the .top file at the end of the message, but it is too big, so please if you need to see it
let me know how to send to you.

______________________________________________
Anna Marabotti, Ph.D.
Laboratory of Bioinformatics and Computational Biology
Institute of Food Science, CNR
Via Roma 64
83100 Avellino (Italy)
Phone: +39 0825 299651
Fax: +39 0825 781585
Skype: annam1972
E-mail: amarabotti at isa.cnr.it
Web page: http://bioinformatica.isa.cnr.it/anna/anna.htm
____________________________________________________
"If you think you are too small to make a difference, try sleeping with a mosquito"
Mark Abraham
2009-06-17 07:29:30 UTC
Permalink
Post by Anna Marabotti
Dear gmx-users,
I would like to setup a simulation of a protein in a mixture SDS/water using GROMACS 3.3.1.
editconf -f my_prot.gro -o my_prot_box.gro -bt cubic -box 10 -c
- then I used genbox to fill the box with water and to add the desired quantity of SDS (to simulate 3.5 M SDS
I added approx. 2000 molecules of SDS to the box). I obtained the coordinates of SDS from a pdb file and then
genbox -cp my_prot_box.gro -cs spc216.gro -ci SDS.gro -nmol 2000 -o my_prot_boxsolv.gro -p my_prot.top
The output of this command is a .gro file in which the protein is at the centre of the cubic box, filled with
approx. 36000 water molecules and 2000 molecules of SDS. I had a look at it with VMD, and all seems to be OK.
The only "strange" thing is that the SDS molecules are not considered as "solvent" molecules.
Shrug... that depends on the definition of solvent.
Post by Anna Marabotti
grompp -f em.mdp -c my_prot_boxsolv.gro -o my_prot_mini.tpr -p my_prot.top
number of coordinates in coordinate file (my_prot_boxsolv.gro, 144801) does not match topology (my_prot.top,
0)
OK, so probably something is wrong with your [molecules] section.
Post by Anna Marabotti
I tried to manually edit the .top file by adding the number of SDS molecules under the section [ molecules ],
I also added manually "SDS.itp" to the topology file, but all was useless. I don't really know especially why
GROMACS claims that the number of coordinates in the topology is 0, since at least the protein is present.
Not if [molecules] is mangled. The order of the directives is quite
important. The #include for SDS.itp must come before [molecules] and
after the final subsection of any other [molecule] section. See parts of
chapter 5 of the manual.

Mark
Post by Anna Marabotti
What's wrong? I saw many procedures to create mixed solvents for a simulation, but I don't know what is the
better one. However, genbox -nmol -ci seems perfect for me and apparently it functions in creating the system.
So why the topology file is not updated by genbox? Or in case, could you suggest me a better procedure to add
3.5 M SDS to my protein in water?
Thank you and best regards
Anna
I tried to copy the .top file at the end of the message, but it is too big, so please if you need to see it
let me know how to send to you.
______________________________________________
Anna Marabotti, Ph.D.
Laboratory of Bioinformatics and Computational Biology
Institute of Food Science, CNR
Via Roma 64
83100 Avellino (Italy)
Phone: +39 0825 299651
Fax: +39 0825 781585
Skype: annam1972
E-mail: amarabotti at isa.cnr.it
Web page: http://bioinformatica.isa.cnr.it/anna/anna.htm
____________________________________________________
"If you think you are too small to make a difference, try sleeping with a mosquito"
_______________________________________________
gmx-users mailing list gmx-users at gromacs.org
http://lists.gromacs.org/mailman/listinfo/gmx-users
Please search the archive at http://www.gromacs.org/search before posting!
Please don't post (un)subscribe requests to the list. Use the
www interface or send it to gmx-users-request at gromacs.org.
Can't post? Read http://www.gromacs.org/mailing_lists/users.php
Anna Marabotti
2009-06-17 13:05:55 UTC
Permalink
Dear Mark,
thank you very much for suggestions. I'm pasting here an "extract" of the .top file I used during the grompp
process (the complete one is too big to be sent to the mailing list, as I told yesterday - the dots indicate
that I delete the information here, but they are present in the original file). As you can see, I added
manually the #include for SDS.itp before [ molecules ] and "SDS" under [ moleculetype ] and [ molecules ]
section. Maybe I made a trivial error, but I can't find it. All lines under [ atoms], [bonds], [pairs],
[angles] and [dihedral] sections refer only to the protein.
Moreover, it is quite strange to me that when I'm doing genbox, the top file is not updated automatically. I
copied the SDS.itp file from PRODRG in the directory ../gromacs/share/top containing all others .itp files,
but it seems that the program does not find information for SDS to include automatically in the .top file

Many thanks for help
Kind regards
Anna

Here the my_prot.top file (extract):

;
; File 'my_prot.top' was generated
; By user: anna (62867)
; On host: bioserv1.isa.cnr.it
; At date: Tue Jun 16 16:15:08 2009
;
; This is your topology file
; "The World is a Friendly Place" (Magnapop)
;
; Include forcefield parameters
#include "ffG43a1.itp"

[ moleculetype ]
; Name nrexcl
Protein 3
SDS 3

[ atoms ]
; nr type resnr residue atom cgnr charge mass typeB chargeB massB
1 NL 1 SER N 1 0.129 14.0067 ; qtot 0.129
2 H 1 SER H1 1 0.248 1.008 ; qtot 0.377
3 H 1 SER H2 1 0.248 1.008 ; qtot 0.625
.........................................................................................
.........................................................................................
2280 C 229 GLU C 980 0.27 12.011 ; qtot -6.73
2281 OM 229 GLU O1 980 -0.635 15.9994 ; qtot -7.365
2282 OM 229 GLU O2 980 -0.635 15.9994 ; qtot -8

[ bonds ]
; ai aj funct c0 c1 c2 c3
1 2 2 gb_2
1 3 2 gb_2
1 4 2 gb_2
1 5 2 gb_20
.......................................................
.......................................................
2275 2276 2 gb_26
2276 2277 2 gb_26
2277 2278 2 gb_5
2277 2279 2 gb_5
2280 2281 2 gb_5
2280 2282 2 gb_5

[ pairs ]
; ai aj funct c0 c1 c2 c3
1 7 1
1 10 1
1 11 1
...................................
...................................
2273 2275 1
2273 2280 1
2274 2277 1
2275 2278 1
2275 2279 1
2275 2281 1
2275 2282 1
2276 2280 1

[ angles ]
; ai aj ak funct c0 c1 c2 c3
2 1 3 2 ga_9
2 1 4 2 ga_9
2 1 5 2 ga_10
3 1 4 2 ga_9
3 1 5 2 ga_10
.....................................
.....................................
2275 2276 2277 2 ga_14
2276 2277 2278 2 ga_21
2276 2277 2279 2 ga_21
2278 2277 2279 2 ga_37
2274 2280 2281 2 ga_21
2274 2280 2282 2 ga_21
2281 2280 2282 2 ga_37

[ dihedrals ]
; ai aj ak al funct c0 c1 c2 c3 c4
c5
2 1 5 9 1 gd_14
1 5 6 7 1 gd_17
1 5 9 11 1 gd_20
5 6 7 8 1 gd_12
5 9 11 13 1 gd_4
..............................................
..............................................
2270 2272 2274 2280 1 gd_19
2272 2274 2275 2276 1 gd_17
2272 2274 2280 2282 1 gd_20
2274 2275 2276 2277 1 gd_17
2275 2276 2277 2279 1 gd_20

[ dihedrals ]
; ai aj ak al funct c0 c1 c2 c3
5 1 9 6 2 gi_2
9 5 11 10 2 gi_1
11 9 13 12 2 gi_1
14 13 16 15 2 gi_1
16 14 18 17 2 gi_1
18 16 20 19 2 gi_2
20 18 22 21 2 gi_1
..........................................
..........................................
2260 2256 2258 2261 2 gi_1
2262 2249 2264 2263 2 gi_1
2264 2262 2266 2265 2 gi_1
2266 2264 2270 2267 2 gi_2
2270 2266 2272 2271 2 gi_1
2272 2270 2274 2273 2 gi_1
2274 2272 2280 2275 2 gi_2
2276 2279 2278 2277 2 gi_1
2280 2274 2282 2281 2 gi_1

; Include Position restraint file
#ifdef POSRES
#include "posre.itp"
#endif

; Include water topology
#include "spc.itp"

#ifdef POSRES_WATER
; Position restraint for each water oxygen
[ position_restraints ]
; i funct fcx fcy fcz
1 1 1000 1000 1000
#endif

; Include generic topology for ions
#include "ions.itp"

; Include topology for SDS
#include "SDS.itp"

[ system ]
; Name
Protein in water with SDS

[ molecules ]
; Compound #mols
Protein 1
SDS 2000
SOL 36173
Post by Anna Marabotti
Dear gmx-users,
I would like to setup a simulation of a protein in a mixture SDS/water using GROMACS 3.3.1.
editconf -f my_prot.gro -o my_prot_box.gro -bt cubic -box 10 -c
- then I used genbox to fill the box with water and to add the desired quantity of SDS (to simulate 3.5 M
SDS
Post by Anna Marabotti
I added approx. 2000 molecules of SDS to the box). I obtained the coordinates of SDS from a pdb file and
then
Post by Anna Marabotti
genbox -cp my_prot_box.gro -cs spc216.gro -ci SDS.gro -nmol 2000 -o my_prot_boxsolv.gro -p my_prot.top
The output of this command is a .gro file in which the protein is at the centre of the cubic box, filled
with
Post by Anna Marabotti
approx. 36000 water molecules and 2000 molecules of SDS. I had a look at it with VMD, and all seems to be
OK.
Post by Anna Marabotti
The only "strange" thing is that the SDS molecules are not considered as "solvent" molecules.
Shrug... that depends on the definition of solvent.
Post by Anna Marabotti
grompp -f em.mdp -c my_prot_boxsolv.gro -o my_prot_mini.tpr -p my_prot.top
number of coordinates in coordinate file (my_prot_boxsolv.gro, 144801) does not match topology (my_prot.top,
0)
OK, so probably something is wrong with your [molecules] section.
Post by Anna Marabotti
I tried to manually edit the .top file by adding the number of SDS molecules under the section [ molecules
],
Post by Anna Marabotti
I also added manually "SDS.itp" to the topology file, but all was useless. I don't really know especially
why
Post by Anna Marabotti
GROMACS claims that the number of coordinates in the topology is 0, since at least the protein is present.
Not if [molecules] is mangled. The order of the directives is quite
important. The #include for SDS.itp must come before [molecules] and
after the final subsection of any other [molecule] section. See parts of
chapter 5 of the manual.

Mark
Post by Anna Marabotti
What's wrong? I saw many procedures to create mixed solvents for a simulation, but I don't know what is the
better one. However, genbox -nmol -ci seems perfect for me and apparently it functions in creating the
system.
Post by Anna Marabotti
So why the topology file is not updated by genbox? Or in case, could you suggest me a better procedure to
add
Post by Anna Marabotti
3.5 M SDS to my protein in water?
Thank you and best regards
Anna
I tried to copy the .top file at the end of the message, but it is too big, so please if you need to see it
let me know how to send to you.
______________________________________________
Anna Marabotti, Ph.D.
Laboratory of Bioinformatics and Computational Biology
Institute of Food Science, CNR
Via Roma 64
83100 Avellino (Italy)
Phone: +39 0825 299651
Fax: +39 0825 781585
Skype: annam1972
E-mail: amarabotti at isa.cnr.it
Web page: http://bioinformatica.isa.cnr.it/anna/anna.htm
____________________________________________________
"If you think you are too small to make a difference, try sleeping with a mosquito"
Justin A. Lemkul
2009-06-17 13:11:29 UTC
Permalink
Post by Anna Marabotti
Dear Mark,
thank you very much for suggestions. I'm pasting here an "extract" of the .top file I used during the grompp
process (the complete one is too big to be sent to the mailing list, as I told yesterday - the dots indicate
that I delete the information here, but they are present in the original file). As you can see, I added
manually the #include for SDS.itp before [ molecules ] and "SDS" under [ moleculetype ] and [ molecules ]
section. Maybe I made a trivial error, but I can't find it. All lines under [ atoms], [bonds], [pairs],
[angles] and [dihedral] sections refer only to the protein.
Moreover, it is quite strange to me that when I'm doing genbox, the top file is not updated automatically. I
copied the SDS.itp file from PRODRG in the directory ../gromacs/share/top containing all others .itp files,
but it seems that the program does not find information for SDS to include automatically in the .top file
Many thanks for help
Kind regards
Anna
;
; File 'my_prot.top' was generated
; By user: anna (62867)
; On host: bioserv1.isa.cnr.it
; At date: Tue Jun 16 16:15:08 2009
;
; This is your topology file
; "The World is a Friendly Place" (Magnapop)
;
; Include forcefield parameters
#include "ffG43a1.itp"
[ moleculetype ]
; Name nrexcl
Protein 3
SDS 3
Here's your problem. You've defined two molecule types in one moleculetype
directive. Look in SDS.itp - you'll likely find the moleculetype is defined
there as well.

-Justin
Post by Anna Marabotti
[ atoms ]
; nr type resnr residue atom cgnr charge mass typeB chargeB massB
1 NL 1 SER N 1 0.129 14.0067 ; qtot 0.129
2 H 1 SER H1 1 0.248 1.008 ; qtot 0.377
3 H 1 SER H2 1 0.248 1.008 ; qtot 0.625
.........................................................................................
.........................................................................................
2280 C 229 GLU C 980 0.27 12.011 ; qtot -6.73
2281 OM 229 GLU O1 980 -0.635 15.9994 ; qtot -7.365
2282 OM 229 GLU O2 980 -0.635 15.9994 ; qtot -8
[ bonds ]
; ai aj funct c0 c1 c2 c3
1 2 2 gb_2
1 3 2 gb_2
1 4 2 gb_2
1 5 2 gb_20
.......................................................
.......................................................
2275 2276 2 gb_26
2276 2277 2 gb_26
2277 2278 2 gb_5
2277 2279 2 gb_5
2280 2281 2 gb_5
2280 2282 2 gb_5
[ pairs ]
; ai aj funct c0 c1 c2 c3
1 7 1
1 10 1
1 11 1
...................................
...................................
2273 2275 1
2273 2280 1
2274 2277 1
2275 2278 1
2275 2279 1
2275 2281 1
2275 2282 1
2276 2280 1
[ angles ]
; ai aj ak funct c0 c1 c2 c3
2 1 3 2 ga_9
2 1 4 2 ga_9
2 1 5 2 ga_10
3 1 4 2 ga_9
3 1 5 2 ga_10
.....................................
.....................................
2275 2276 2277 2 ga_14
2276 2277 2278 2 ga_21
2276 2277 2279 2 ga_21
2278 2277 2279 2 ga_37
2274 2280 2281 2 ga_21
2274 2280 2282 2 ga_21
2281 2280 2282 2 ga_37
[ dihedrals ]
; ai aj ak al funct c0 c1 c2 c3 c4
c5
2 1 5 9 1 gd_14
1 5 6 7 1 gd_17
1 5 9 11 1 gd_20
5 6 7 8 1 gd_12
5 9 11 13 1 gd_4
..............................................
..............................................
2270 2272 2274 2280 1 gd_19
2272 2274 2275 2276 1 gd_17
2272 2274 2280 2282 1 gd_20
2274 2275 2276 2277 1 gd_17
2275 2276 2277 2279 1 gd_20
[ dihedrals ]
; ai aj ak al funct c0 c1 c2 c3
5 1 9 6 2 gi_2
9 5 11 10 2 gi_1
11 9 13 12 2 gi_1
14 13 16 15 2 gi_1
16 14 18 17 2 gi_1
18 16 20 19 2 gi_2
20 18 22 21 2 gi_1
..........................................
..........................................
2260 2256 2258 2261 2 gi_1
2262 2249 2264 2263 2 gi_1
2264 2262 2266 2265 2 gi_1
2266 2264 2270 2267 2 gi_2
2270 2266 2272 2271 2 gi_1
2272 2270 2274 2273 2 gi_1
2274 2272 2280 2275 2 gi_2
2276 2279 2278 2277 2 gi_1
2280 2274 2282 2281 2 gi_1
; Include Position restraint file
#ifdef POSRES
#include "posre.itp"
#endif
; Include water topology
#include "spc.itp"
#ifdef POSRES_WATER
; Position restraint for each water oxygen
[ position_restraints ]
; i funct fcx fcy fcz
1 1 1000 1000 1000
#endif
; Include generic topology for ions
#include "ions.itp"
; Include topology for SDS
#include "SDS.itp"
[ system ]
; Name
Protein in water with SDS
[ molecules ]
; Compound #mols
Protein 1
SDS 2000
SOL 36173
Post by Anna Marabotti
Dear gmx-users,
I would like to setup a simulation of a protein in a mixture SDS/water using GROMACS 3.3.1.
editconf -f my_prot.gro -o my_prot_box.gro -bt cubic -box 10 -c
- then I used genbox to fill the box with water and to add the desired quantity of SDS (to simulate 3.5 M
SDS
Post by Anna Marabotti
I added approx. 2000 molecules of SDS to the box). I obtained the coordinates of SDS from a pdb file and
then
Post by Anna Marabotti
genbox -cp my_prot_box.gro -cs spc216.gro -ci SDS.gro -nmol 2000 -o my_prot_boxsolv.gro -p my_prot.top
The output of this command is a .gro file in which the protein is at the centre of the cubic box, filled
with
Post by Anna Marabotti
approx. 36000 water molecules and 2000 molecules of SDS. I had a look at it with VMD, and all seems to be
OK.
Post by Anna Marabotti
The only "strange" thing is that the SDS molecules are not considered as "solvent" molecules.
Shrug... that depends on the definition of solvent.
Post by Anna Marabotti
grompp -f em.mdp -c my_prot_boxsolv.gro -o my_prot_mini.tpr -p my_prot.top
number of coordinates in coordinate file (my_prot_boxsolv.gro, 144801) does not match topology (my_prot.top,
0)
OK, so probably something is wrong with your [molecules] section.
Post by Anna Marabotti
I tried to manually edit the .top file by adding the number of SDS molecules under the section [ molecules
],
Post by Anna Marabotti
I also added manually "SDS.itp" to the topology file, but all was useless. I don't really know especially
why
Post by Anna Marabotti
GROMACS claims that the number of coordinates in the topology is 0, since at least the protein is present.
Not if [molecules] is mangled. The order of the directives is quite
important. The #include for SDS.itp must come before [molecules] and
after the final subsection of any other [molecule] section. See parts of
chapter 5 of the manual.
Mark
Post by Anna Marabotti
What's wrong? I saw many procedures to create mixed solvents for a simulation, but I don't know what is the
better one. However, genbox -nmol -ci seems perfect for me and apparently it functions in creating the
system.
Post by Anna Marabotti
So why the topology file is not updated by genbox? Or in case, could you suggest me a better procedure to
add
Post by Anna Marabotti
3.5 M SDS to my protein in water?
Thank you and best regards
Anna
I tried to copy the .top file at the end of the message, but it is too big, so please if you need to see it
let me know how to send to you.
______________________________________________
Anna Marabotti, Ph.D.
Laboratory of Bioinformatics and Computational Biology
Institute of Food Science, CNR
Via Roma 64
83100 Avellino (Italy)
Phone: +39 0825 299651
Fax: +39 0825 781585
Skype: annam1972
E-mail: amarabotti at isa.cnr.it
Web page: http://bioinformatica.isa.cnr.it/anna/anna.htm
____________________________________________________
"If you think you are too small to make a difference, try sleeping with a mosquito"
_______________________________________________
gmx-users mailing list gmx-users at gromacs.org
http://lists.gromacs.org/mailman/listinfo/gmx-users
Please search the archive at http://www.gromacs.org/search before posting!
Please don't post (un)subscribe requests to the list. Use the
www interface or send it to gmx-users-request at gromacs.org.
Can't post? Read http://www.gromacs.org/mailing_lists/users.php
--
========================================

Justin A. Lemkul
Ph.D. Candidate
ICTAS Doctoral Scholar
Department of Biochemistry
Virginia Tech
Blacksburg, VA
jalemkul[at]vt.edu | (540) 231-9080
http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin

========================================
Mark Abraham
2009-06-17 13:18:40 UTC
Permalink
Post by Anna Marabotti
Dear Mark,
thank you very much for suggestions. I'm pasting here an "extract" of the .top file I used during the grompp
process (the complete one is too big to be sent to the mailing list, as I told yesterday - the dots indicate
that I delete the information here, but they are present in the original file). As you can see, I added
manually the #include for SDS.itp before [ molecules ] and "SDS" under [ moleculetype ] and [ molecules ]
section. Maybe I made a trivial error, but I can't find it. All lines under [ atoms], [bonds], [pairs],
[angles] and [dihedral] sections refer only to the protein.
Moreover, it is quite strange to me that when I'm doing genbox, the top file is not updated automatically. I
copied the SDS.itp file from PRODRG in the directory ../gromacs/share/top containing all others .itp files,
but it seems that the program does not find information for SDS to include automatically in the .top file
Many thanks for help
Kind regards
Anna
;
; File 'my_prot.top' was generated
; By user: anna (62867)
; On host: bioserv1.isa.cnr.it
; At date: Tue Jun 16 16:15:08 2009
;
; This is your topology file
; "The World is a Friendly Place" (Magnapop)
;
; Include forcefield parameters
#include "ffG43a1.itp"
[ moleculetype ]
; Name nrexcl
Protein 3
SDS 3
This is wrong. [moleculetype] declares the existence of a new type of
molecule, whose name follows. A subsequent [moleculetype] ends the
previous molecule type and starts a new one. Thus only one type of
molecule can be described in a [moleculetype] section. (My previous post
erroneously referred to [molecule] sections, sorry!) The entries in
[molecules] at the end refer to the names given in [moleculetype] sections.

Mark
Post by Anna Marabotti
[ atoms ]
; nr type resnr residue atom cgnr charge mass typeB chargeB massB
1 NL 1 SER N 1 0.129 14.0067 ; qtot 0.129
2 H 1 SER H1 1 0.248 1.008 ; qtot 0.377
3 H 1 SER H2 1 0.248 1.008 ; qtot 0.625
.........................................................................................
.........................................................................................
2280 C 229 GLU C 980 0.27 12.011 ; qtot -6.73
2281 OM 229 GLU O1 980 -0.635 15.9994 ; qtot -7.365
2282 OM 229 GLU O2 980 -0.635 15.9994 ; qtot -8
[ bonds ]
; ai aj funct c0 c1 c2 c3
1 2 2 gb_2
1 3 2 gb_2
1 4 2 gb_2
1 5 2 gb_20
.......................................................
.......................................................
2275 2276 2 gb_26
2276 2277 2 gb_26
2277 2278 2 gb_5
2277 2279 2 gb_5
2280 2281 2 gb_5
2280 2282 2 gb_5
[ pairs ]
; ai aj funct c0 c1 c2 c3
1 7 1
1 10 1
1 11 1
...................................
...................................
2273 2275 1
2273 2280 1
2274 2277 1
2275 2278 1
2275 2279 1
2275 2281 1
2275 2282 1
2276 2280 1
[ angles ]
; ai aj ak funct c0 c1 c2 c3
2 1 3 2 ga_9
2 1 4 2 ga_9
2 1 5 2 ga_10
3 1 4 2 ga_9
3 1 5 2 ga_10
.....................................
.....................................
2275 2276 2277 2 ga_14
2276 2277 2278 2 ga_21
2276 2277 2279 2 ga_21
2278 2277 2279 2 ga_37
2274 2280 2281 2 ga_21
2274 2280 2282 2 ga_21
2281 2280 2282 2 ga_37
[ dihedrals ]
; ai aj ak al funct c0 c1 c2 c3 c4
c5
2 1 5 9 1 gd_14
1 5 6 7 1 gd_17
1 5 9 11 1 gd_20
5 6 7 8 1 gd_12
5 9 11 13 1 gd_4
..............................................
..............................................
2270 2272 2274 2280 1 gd_19
2272 2274 2275 2276 1 gd_17
2272 2274 2280 2282 1 gd_20
2274 2275 2276 2277 1 gd_17
2275 2276 2277 2279 1 gd_20
[ dihedrals ]
; ai aj ak al funct c0 c1 c2 c3
5 1 9 6 2 gi_2
9 5 11 10 2 gi_1
11 9 13 12 2 gi_1
14 13 16 15 2 gi_1
16 14 18 17 2 gi_1
18 16 20 19 2 gi_2
20 18 22 21 2 gi_1
..........................................
..........................................
2260 2256 2258 2261 2 gi_1
2262 2249 2264 2263 2 gi_1
2264 2262 2266 2265 2 gi_1
2266 2264 2270 2267 2 gi_2
2270 2266 2272 2271 2 gi_1
2272 2270 2274 2273 2 gi_1
2274 2272 2280 2275 2 gi_2
2276 2279 2278 2277 2 gi_1
2280 2274 2282 2281 2 gi_1
; Include Position restraint file
#ifdef POSRES
#include "posre.itp"
#endif
; Include water topology
#include "spc.itp"
#ifdef POSRES_WATER
; Position restraint for each water oxygen
[ position_restraints ]
; i funct fcx fcy fcz
1 1 1000 1000 1000
#endif
; Include generic topology for ions
#include "ions.itp"
; Include topology for SDS
#include "SDS.itp"
[ system ]
; Name
Protein in water with SDS
[ molecules ]
; Compound #mols
Protein 1
SDS 2000
SOL 36173
Post by Anna Marabotti
Dear gmx-users,
I would like to setup a simulation of a protein in a mixture SDS/water using GROMACS 3.3.1.
editconf -f my_prot.gro -o my_prot_box.gro -bt cubic -box 10 -c
- then I used genbox to fill the box with water and to add the desired quantity of SDS (to simulate 3.5 M
SDS
Post by Anna Marabotti
I added approx. 2000 molecules of SDS to the box). I obtained the coordinates of SDS from a pdb file and
then
Post by Anna Marabotti
genbox -cp my_prot_box.gro -cs spc216.gro -ci SDS.gro -nmol 2000 -o my_prot_boxsolv.gro -p my_prot.top
The output of this command is a .gro file in which the protein is at the centre of the cubic box, filled
with
Post by Anna Marabotti
approx. 36000 water molecules and 2000 molecules of SDS. I had a look at it with VMD, and all seems to be
OK.
Post by Anna Marabotti
The only "strange" thing is that the SDS molecules are not considered as "solvent" molecules.
Shrug... that depends on the definition of solvent.
Post by Anna Marabotti
grompp -f em.mdp -c my_prot_boxsolv.gro -o my_prot_mini.tpr -p my_prot.top
number of coordinates in coordinate file (my_prot_boxsolv.gro, 144801) does not match topology (my_prot.top,
0)
OK, so probably something is wrong with your [molecules] section.
Post by Anna Marabotti
I tried to manually edit the .top file by adding the number of SDS molecules under the section [ molecules
],
Post by Anna Marabotti
I also added manually "SDS.itp" to the topology file, but all was useless. I don't really know especially
why
Post by Anna Marabotti
GROMACS claims that the number of coordinates in the topology is 0, since at least the protein is present.
Not if [molecules] is mangled. The order of the directives is quite
important. The #include for SDS.itp must come before [molecules] and
after the final subsection of any other [molecule] section. See parts of
chapter 5 of the manual.
Mark
Post by Anna Marabotti
What's wrong? I saw many procedures to create mixed solvents for a simulation, but I don't know what is the
better one. However, genbox -nmol -ci seems perfect for me and apparently it functions in creating the
system.
Post by Anna Marabotti
So why the topology file is not updated by genbox? Or in case, could you suggest me a better procedure to
add
Post by Anna Marabotti
3.5 M SDS to my protein in water?
Thank you and best regards
Anna
I tried to copy the .top file at the end of the message, but it is too big, so please if you need to see it
let me know how to send to you.
______________________________________________
Anna Marabotti, Ph.D.
Laboratory of Bioinformatics and Computational Biology
Institute of Food Science, CNR
Via Roma 64
83100 Avellino (Italy)
Phone: +39 0825 299651
Fax: +39 0825 781585
Skype: annam1972
E-mail: amarabotti at isa.cnr.it
Web page: http://bioinformatica.isa.cnr.it/anna/anna.htm
____________________________________________________
"If you think you are too small to make a difference, try sleeping with a mosquito"
_______________________________________________
gmx-users mailing list gmx-users at gromacs.org
http://lists.gromacs.org/mailman/listinfo/gmx-users
Please search the archive at http://www.gromacs.org/search before posting!
Please don't post (un)subscribe requests to the list. Use the
www interface or send it to gmx-users-request at gromacs.org.
Can't post? Read http://www.gromacs.org/mailing_lists/users.php
Stefano Meliga
2009-06-17 14:10:37 UTC
Permalink
Dear Gromacs users,

I need to produce a list of the covalent bonds of my protein structure
in the format:

Atom1 Atom2 binding energy

1 2 50 kcal/mol
1 3 150 kcal/mol
...


The binding energy is not the potential calculated by gromacs' force
field but the diatomic binding energies available in the literature

I actually already have a list of the covalent bonds like this

Atom1 Atom2

1 2
1 3
...

and a table with the binding energies of each bond type like this

bond type binding energy

C-C 150 kcal/mol
C=C 200 kcal/mol
C-H 100 kcal/mol

but, in order to create such file, I'd need to build a script that scans
my pdb looking for the atom types and working out whether in between
there's a single or double bond according to the aminoacid's chemical
formula.

Thus, I was wondering if Gromacs can perform any operation to make my
work less painful.


Is there a command or an option able to output a similar file?

It would be already of great help to have a simple lookup table like this

Atom1 Atom2 single-or-double-bond?

1 2 single
1 3 double
...

I took a quick look to the files ffoplsaa.* but I couldn't quite find
what I was looking for. Maybe the field "name" of the *.itp file could
be useful.

Can you think of an easy solution?


Thanks,

Stefano
Mark Abraham
2009-06-17 14:28:36 UTC
Permalink
Post by Stefano Meliga
Dear Gromacs users,
I need to produce a list of the covalent bonds of my protein structure
Atom1 Atom2 binding energy
1 2 50 kcal/mol
1 3 150 kcal/mol
...
The binding energy is not the potential calculated by gromacs' force
field but the diatomic binding energies available in the literature
I actually already have a list of the covalent bonds like this
Atom1 Atom2
1 2
1 3
...
and a table with the binding energies of each bond type like this
bond type binding energy
C-C 150 kcal/mol
C=C 200 kcal/mol
C-H 100 kcal/mol
but, in order to create such file, I'd need to build a script that scans
my pdb looking for the atom types and working out whether in between
there's a single or double bond according to the aminoacid's chemical
formula.
Thus, I was wondering if Gromacs can perform any operation to make my
work less painful.
Is there a command or an option able to output a similar file?
Not really. Forcefields select bonded interaction functions based on the
types of the atoms involved. There's no explicit consideration of the
formal "bond number", except inasmuch as some atom types never
participate in double-bonding. sp2 carbons (tend to?) have different
types from sp3 carbons. Perhaps you could infer the kind of bond from
the atom types and/or the stiffness of the bonded potential. You would
still have to have a script parse the atom types and bonds described in
a .top file, look up the ff???bon.itp file and use that data to look up
your own tables. You could also get the data from a script processing a
gmxdump of a .tpr file.

Mark
Post by Stefano Meliga
It would be already of great help to have a simple lookup table like this
Atom1 Atom2 single-or-double-bond?
1 2 single
1 3 double
...
I took a quick look to the files ffoplsaa.* but I couldn't quite find
what I was looking for. Maybe the field "name" of the *.itp file could
be useful.
Can you think of an easy solution?
Thanks,
Stefano
_______________________________________________
gmx-users mailing list gmx-users at gromacs.org
http://lists.gromacs.org/mailman/listinfo/gmx-users
Please search the archive at http://www.gromacs.org/search before posting!
Please don't post (un)subscribe requests to the list. Use the www
interface or send it to gmx-users-request at gromacs.org.
Can't post? Read http://www.gromacs.org/mailing_lists/users.php
Thomas Schlesier
2009-06-17 13:23:22 UTC
Permalink
Hi,
i think another problem lies here:

; Include water topology
Post by Anna Marabotti
#include "spc.itp"
.................
Post by Anna Marabotti
; Include generic topology for ions
#include "ions.itp"
; Include topology for SDS
#include "SDS.itp"
[ system ]
; Name
Protein in water with SDS
[ molecules ]
; Compound #mols
Protein 1
SDS 2000
SOL 36173
You have defined your Protein, then the water, then ions and then SDS.
But in [ molecules ] you have the order Protein - SDS - water; but these
two orders must be the same.
-> Delete the line, which Justin suggested und put the *#include
"SDS.itp"* before the *#include "spc.itp"*, then i think all must be fine.

Thomas
Post by Anna Marabotti
------------------------------
Message: 5
Date: Wed, 17 Jun 2009 09:11:29 -0400
From: "Justin A. Lemkul" <jalemkul at vt.edu>
Subject: Re: [gmx-users] Re: protein in SDS/water
To: Discussion list for GROMACS users <gmx-users at gromacs.org>
Message-ID: <4A38EB81.6000508 at vt.edu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Post by Anna Marabotti
Dear Mark,
thank you very much for suggestions. I'm pasting here an "extract" of the .top file I used during the grompp
process (the complete one is too big to be sent to the mailing list, as I told yesterday - the dots indicate
that I delete the information here, but they are present in the original file). As you can see, I added
manually the #include for SDS.itp before [ molecules ] and "SDS" under [ moleculetype ] and [ molecules ]
section. Maybe I made a trivial error, but I can't find it. All lines under [ atoms], [bonds], [pairs],
[angles] and [dihedral] sections refer only to the protein.
Moreover, it is quite strange to me that when I'm doing genbox, the top file is not updated automatically. I
copied the SDS.itp file from PRODRG in the directory ../gromacs/share/top containing all others .itp files,
but it seems that the program does not find information for SDS to include automatically in the .top file
Many thanks for help
Kind regards
Anna
;
; File 'my_prot.top' was generated
; By user: anna (62867)
; On host: bioserv1.isa.cnr.it
; At date: Tue Jun 16 16:15:08 2009
;
; This is your topology file
; "The World is a Friendly Place" (Magnapop)
;
; Include forcefield parameters
#include "ffG43a1.itp"
[ moleculetype ]
; Name nrexcl
Protein 3
SDS 3
Here's your problem. You've defined two molecule types in one moleculetype
directive. Look in SDS.itp - you'll likely find the moleculetype is defined
there as well.
-Justin
Post by Anna Marabotti
[ atoms ]
; nr type resnr residue atom cgnr charge mass typeB chargeB massB
1 NL 1 SER N 1 0.129 14.0067 ; qtot 0.129
2 H 1 SER H1 1 0.248 1.008 ; qtot 0.377
3 H 1 SER H2 1 0.248 1.008 ; qtot 0.625
.........................................................................................
.........................................................................................
2280 C 229 GLU C 980 0.27 12.011 ; qtot -6.73
2281 OM 229 GLU O1 980 -0.635 15.9994 ; qtot -7.365
2282 OM 229 GLU O2 980 -0.635 15.9994 ; qtot -8
[ bonds ]
; ai aj funct c0 c1 c2 c3
1 2 2 gb_2
1 3 2 gb_2
1 4 2 gb_2
1 5 2 gb_20
.......................................................
.......................................................
2275 2276 2 gb_26
2276 2277 2 gb_26
2277 2278 2 gb_5
2277 2279 2 gb_5
2280 2281 2 gb_5
2280 2282 2 gb_5
[ pairs ]
; ai aj funct c0 c1 c2 c3
1 7 1
1 10 1
1 11 1
...................................
...................................
2273 2275 1
2273 2280 1
2274 2277 1
2275 2278 1
2275 2279 1
2275 2281 1
2275 2282 1
2276 2280 1
[ angles ]
; ai aj ak funct c0 c1 c2 c3
2 1 3 2 ga_9
2 1 4 2 ga_9
2 1 5 2 ga_10
3 1 4 2 ga_9
3 1 5 2 ga_10
.....................................
.....................................
2275 2276 2277 2 ga_14
2276 2277 2278 2 ga_21
2276 2277 2279 2 ga_21
2278 2277 2279 2 ga_37
2274 2280 2281 2 ga_21
2274 2280 2282 2 ga_21
2281 2280 2282 2 ga_37
[ dihedrals ]
; ai aj ak al funct c0 c1 c2 c3 c4
c5
2 1 5 9 1 gd_14
1 5 6 7 1 gd_17
1 5 9 11 1 gd_20
5 6 7 8 1 gd_12
5 9 11 13 1 gd_4
..............................................
..............................................
2270 2272 2274 2280 1 gd_19
2272 2274 2275 2276 1 gd_17
2272 2274 2280 2282 1 gd_20
2274 2275 2276 2277 1 gd_17
2275 2276 2277 2279 1 gd_20
[ dihedrals ]
; ai aj ak al funct c0 c1 c2 c3
5 1 9 6 2 gi_2
9 5 11 10 2 gi_1
11 9 13 12 2 gi_1
14 13 16 15 2 gi_1
16 14 18 17 2 gi_1
18 16 20 19 2 gi_2
20 18 22 21 2 gi_1
..........................................
..........................................
2260 2256 2258 2261 2 gi_1
2262 2249 2264 2263 2 gi_1
2264 2262 2266 2265 2 gi_1
2266 2264 2270 2267 2 gi_2
2270 2266 2272 2271 2 gi_1
2272 2270 2274 2273 2 gi_1
2274 2272 2280 2275 2 gi_2
2276 2279 2278 2277 2 gi_1
2280 2274 2282 2281 2 gi_1
; Include Position restraint file
#ifdef POSRES
#include "posre.itp"
#endif
; Include water topology
#include "spc.itp"
#ifdef POSRES_WATER
; Position restraint for each water oxygen
[ position_restraints ]
; i funct fcx fcy fcz
1 1 1000 1000 1000
#endif
; Include generic topology for ions
#include "ions.itp"
; Include topology for SDS
#include "SDS.itp"
[ system ]
; Name
Protein in water with SDS
[ molecules ]
; Compound #mols
Protein 1
SDS 2000
SOL 36173
Post by Anna Marabotti
Dear gmx-users,
I would like to setup a simulation of a protein in a mixture SDS/water using GROMACS 3.3.1.
editconf -f my_prot.gro -o my_prot_box.gro -bt cubic -box 10 -c
- then I used genbox to fill the box with water and to add the desired quantity of SDS (to simulate 3.5 M
SDS
Post by Anna Marabotti
I added approx. 2000 molecules of SDS to the box). I obtained the coordinates of SDS from a pdb file and
then
Post by Anna Marabotti
genbox -cp my_prot_box.gro -cs spc216.gro -ci SDS.gro -nmol 2000 -o my_prot_boxsolv.gro -p my_prot.top
The output of this command is a .gro file in which the protein is at the centre of the cubic box, filled
with
Post by Anna Marabotti
approx. 36000 water molecules and 2000 molecules of SDS. I had a look at it with VMD, and all seems to be
OK.
Post by Anna Marabotti
The only "strange" thing is that the SDS molecules are not considered as "solvent" molecules.
Shrug... that depends on the definition of solvent.
Post by Anna Marabotti
grompp -f em.mdp -c my_prot_boxsolv.gro -o my_prot_mini.tpr -p my_prot.top
number of coordinates in coordinate file (my_prot_boxsolv.gro, 144801) does not match topology (my_prot.top,
0)
OK, so probably something is wrong with your [molecules] section.
Post by Anna Marabotti
I tried to manually edit the .top file by adding the number of SDS molecules under the section [ molecules
],
Post by Anna Marabotti
I also added manually "SDS.itp" to the topology file, but all was useless. I don't really know especially
why
Post by Anna Marabotti
GROMACS claims that the number of coordinates in the topology is 0, since at least the protein is present.
Not if [molecules] is mangled. The order of the directives is quite
important. The #include for SDS.itp must come before [molecules] and
after the final subsection of any other [molecule] section. See parts of
chapter 5 of the manual.
Mark
Post by Anna Marabotti
What's wrong? I saw many procedures to create mixed solvents for a simulation, but I don't know what is the
better one. However, genbox -nmol -ci seems perfect for me and apparently it functions in creating the
system.
Post by Anna Marabotti
So why the topology file is not updated by genbox? Or in case, could you suggest me a better procedure to
add
Post by Anna Marabotti
3.5 M SDS to my protein in water?
Thank you and best regards
Anna
I tried to copy the .top file at the end of the message, but it is too big, so please if you need to see it
let me know how to send to you.
______________________________________________
Anna Marabotti, Ph.D.
Laboratory of Bioinformatics and Computational Biology
Institute of Food Science, CNR
Via Roma 64
83100 Avellino (Italy)
Phone: +39 0825 299651
Fax: +39 0825 781585
Skype: annam1972
E-mail: amarabotti at isa.cnr.it
Web page: http://bioinformatica.isa.cnr.it/anna/anna.htm
____________________________________________________
"If you think you are too small to make a difference, try sleeping with a mosquito"
_______________________________________________
gmx-users mailing list gmx-users at gromacs.org
http://lists.gromacs.org/mailman/listinfo/gmx-users
Please search the archive at http://www.gromacs.org/search before posting!
Please don't post (un)subscribe requests to the list. Use the
www interface or send it to gmx-users-request at gromacs.org.
Can't post? Read http://www.gromacs.org/mailing_lists/users.php
--
========================================
Justin A. Lemkul
Ph.D. Candidate
ICTAS Doctoral Scholar
Department of Biochemistry
Virginia Tech
Blacksburg, VA
jalemkul[at]vt.edu | (540) 231-9080
http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin
========================================
------------------------------
_______________________________________________
gmx-users mailing list
gmx-users at gromacs.org
http://lists.gromacs.org/mailman/listinfo/gmx-users
Please search the archive at http://www.gromacs.org/search before posting!
End of gmx-users Digest, Vol 62, Issue 90
*****************************************
Justin A. Lemkul
2009-06-17 14:06:46 UTC
Permalink
Post by Anna Marabotti
Hi,
; Include water topology
Post by Anna Marabotti
#include "spc.itp"
.................
Post by Anna Marabotti
; Include generic topology for ions
#include "ions.itp"
; Include topology for SDS
#include "SDS.itp"
[ system ]
; Name
Protein in water with SDS
[ molecules ]
; Compound #mols
Protein 1
SDS 2000
SOL 36173
You have defined your Protein, then the water, then ions and then SDS.
But in [ molecules ] you have the order Protein - SDS - water; but these
two orders must be the same.
-> Delete the line, which Justin suggested und put the *#include
"SDS.itp"* before the *#include "spc.itp"*, then i think all must be fine.
I used to think this was true, too. But it was pointed out to me that the order
of the #includes does not matter, only the order in which the species appear in
the [ molecules ] section.

-Justin
Post by Anna Marabotti
Thomas
Post by Anna Marabotti
------------------------------
Message: 5
Date: Wed, 17 Jun 2009 09:11:29 -0400
From: "Justin A. Lemkul" <jalemkul at vt.edu>
Subject: Re: [gmx-users] Re: protein in SDS/water
To: Discussion list for GROMACS users <gmx-users at gromacs.org>
Message-ID: <4A38EB81.6000508 at vt.edu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Post by Anna Marabotti
Dear Mark,
thank you very much for suggestions. I'm pasting here an "extract" of the .top file I used during the grompp
process (the complete one is too big to be sent to the mailing list, as I told yesterday - the dots indicate
that I delete the information here, but they are present in the original file). As you can see, I added
manually the #include for SDS.itp before [ molecules ] and "SDS" under [ moleculetype ] and [ molecules ]
section. Maybe I made a trivial error, but I can't find it. All lines under [ atoms], [bonds], [pairs],
[angles] and [dihedral] sections refer only to the protein.
Moreover, it is quite strange to me that when I'm doing genbox, the top file is not updated automatically. I
copied the SDS.itp file from PRODRG in the directory ../gromacs/share/top containing all others .itp files,
but it seems that the program does not find information for SDS to include automatically in the .top file
Many thanks for help
Kind regards
Anna
;
; File 'my_prot.top' was generated
; By user: anna (62867)
; On host: bioserv1.isa.cnr.it
; At date: Tue Jun 16 16:15:08 2009
;
; This is your topology file
; "The World is a Friendly Place" (Magnapop)
;
; Include forcefield parameters
#include "ffG43a1.itp"
[ moleculetype ]
; Name nrexcl
Protein 3
SDS 3
Here's your problem. You've defined two molecule types in one moleculetype
directive. Look in SDS.itp - you'll likely find the moleculetype is defined
there as well.
-Justin
Post by Anna Marabotti
[ atoms ]
; nr type resnr residue atom cgnr charge mass typeB chargeB massB
1 NL 1 SER N 1 0.129 14.0067 ; qtot 0.129
2 H 1 SER H1 1 0.248 1.008 ; qtot 0.377
3 H 1 SER H2 1 0.248 1.008 ; qtot 0.625
.........................................................................................
.........................................................................................
2280 C 229 GLU C 980 0.27 12.011 ; qtot -6.73
2281 OM 229 GLU O1 980 -0.635 15.9994 ; qtot -7.365
2282 OM 229 GLU O2 980 -0.635 15.9994 ; qtot -8
[ bonds ]
; ai aj funct c0 c1 c2 c3
1 2 2 gb_2
1 3 2 gb_2
1 4 2 gb_2
1 5 2 gb_20
.......................................................
.......................................................
2275 2276 2 gb_26
2276 2277 2 gb_26
2277 2278 2 gb_5
2277 2279 2 gb_5
2280 2281 2 gb_5
2280 2282 2 gb_5
[ pairs ]
; ai aj funct c0 c1 c2 c3
1 7 1
1 10 1
1 11 1
...................................
...................................
2273 2275 1
2273 2280 1
2274 2277 1
2275 2278 1
2275 2279 1
2275 2281 1
2275 2282 1
2276 2280 1
[ angles ]
; ai aj ak funct c0 c1 c2 c3
2 1 3 2 ga_9
2 1 4 2 ga_9
2 1 5 2 ga_10
3 1 4 2 ga_9
3 1 5 2 ga_10
.....................................
.....................................
2275 2276 2277 2 ga_14
2276 2277 2278 2 ga_21
2276 2277 2279 2 ga_21
2278 2277 2279 2 ga_37
2274 2280 2281 2 ga_21
2274 2280 2282 2 ga_21
2281 2280 2282 2 ga_37
[ dihedrals ]
; ai aj ak al funct c0 c1 c2 c3 c4
c5
2 1 5 9 1 gd_14
1 5 6 7 1 gd_17
1 5 9 11 1 gd_20
5 6 7 8 1 gd_12
5 9 11 13 1 gd_4
..............................................
..............................................
2270 2272 2274 2280 1 gd_19
2272 2274 2275 2276 1 gd_17
2272 2274 2280 2282 1 gd_20
2274 2275 2276 2277 1 gd_17
2275 2276 2277 2279 1 gd_20
[ dihedrals ]
; ai aj ak al funct c0 c1 c2 c3
5 1 9 6 2 gi_2
9 5 11 10 2 gi_1
11 9 13 12 2 gi_1
14 13 16 15 2 gi_1
16 14 18 17 2 gi_1
18 16 20 19 2 gi_2
20 18 22 21 2 gi_1
..........................................
..........................................
2260 2256 2258 2261 2 gi_1
2262 2249 2264 2263 2 gi_1
2264 2262 2266 2265 2 gi_1
2266 2264 2270 2267 2 gi_2
2270 2266 2272 2271 2 gi_1
2272 2270 2274 2273 2 gi_1
2274 2272 2280 2275 2 gi_2
2276 2279 2278 2277 2 gi_1
2280 2274 2282 2281 2 gi_1
; Include Position restraint file
#ifdef POSRES
#include "posre.itp"
#endif
; Include water topology
#include "spc.itp"
#ifdef POSRES_WATER
; Position restraint for each water oxygen
[ position_restraints ]
; i funct fcx fcy fcz
1 1 1000 1000 1000
#endif
; Include generic topology for ions
#include "ions.itp"
; Include topology for SDS
#include "SDS.itp"
[ system ]
; Name
Protein in water with SDS
[ molecules ]
; Compound #mols
Protein 1
SDS 2000
SOL 36173
Post by Anna Marabotti
Dear gmx-users,
I would like to setup a simulation of a protein in a mixture SDS/water using GROMACS 3.3.1.
editconf -f my_prot.gro -o my_prot_box.gro -bt cubic -box 10 -c
- then I used genbox to fill the box with water and to add the desired quantity of SDS (to simulate 3.5 M
SDS
Post by Anna Marabotti
I added approx. 2000 molecules of SDS to the box). I obtained the coordinates of SDS from a pdb file and
then
Post by Anna Marabotti
genbox -cp my_prot_box.gro -cs spc216.gro -ci SDS.gro -nmol 2000 -o my_prot_boxsolv.gro -p my_prot.top
The output of this command is a .gro file in which the protein is at the centre of the cubic box, filled
with
Post by Anna Marabotti
approx. 36000 water molecules and 2000 molecules of SDS. I had a look at it with VMD, and all seems to be
OK.
Post by Anna Marabotti
The only "strange" thing is that the SDS molecules are not considered as "solvent" molecules.
Shrug... that depends on the definition of solvent.
Post by Anna Marabotti
grompp -f em.mdp -c my_prot_boxsolv.gro -o my_prot_mini.tpr -p my_prot.top
number of coordinates in coordinate file (my_prot_boxsolv.gro, 144801) does not match topology (my_prot.top,
0)
OK, so probably something is wrong with your [molecules] section.
Post by Anna Marabotti
I tried to manually edit the .top file by adding the number of SDS molecules under the section [ molecules
],
Post by Anna Marabotti
I also added manually "SDS.itp" to the topology file, but all was useless. I don't really know especially
why
Post by Anna Marabotti
GROMACS claims that the number of coordinates in the topology is 0, since at least the protein is present.
Not if [molecules] is mangled. The order of the directives is quite
important. The #include for SDS.itp must come before [molecules] and
after the final subsection of any other [molecule] section. See parts of
chapter 5 of the manual.
Mark
Post by Anna Marabotti
What's wrong? I saw many procedures to create mixed solvents for a simulation, but I don't know what is the
better one. However, genbox -nmol -ci seems perfect for me and apparently it functions in creating the
system.
Post by Anna Marabotti
So why the topology file is not updated by genbox? Or in case, could you suggest me a better procedure to
add
Post by Anna Marabotti
3.5 M SDS to my protein in water?
Thank you and best regards
Anna
I tried to copy the .top file at the end of the message, but it is too big, so please if you need to see it
let me know how to send to you.
______________________________________________
Anna Marabotti, Ph.D.
Laboratory of Bioinformatics and Computational Biology
Institute of Food Science, CNR
Via Roma 64
83100 Avellino (Italy)
Phone: +39 0825 299651
Fax: +39 0825 781585
Skype: annam1972
E-mail: amarabotti at isa.cnr.it
Web page: http://bioinformatica.isa.cnr.it/anna/anna.htm
____________________________________________________
"If you think you are too small to make a difference, try sleeping with a mosquito"
_______________________________________________
gmx-users mailing list gmx-users at gromacs.org
http://lists.gromacs.org/mailman/listinfo/gmx-users
Please search the archive at http://www.gromacs.org/search before posting!
Please don't post (un)subscribe requests to the list. Use the
www interface or send it to gmx-users-request at gromacs.org.
Can't post? Read http://www.gromacs.org/mailing_lists/users.php
--
========================================
Justin A. Lemkul
Ph.D. Candidate
ICTAS Doctoral Scholar
Department of Biochemistry
Virginia Tech
Blacksburg, VA
jalemkul[at]vt.edu | (540) 231-9080
http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin
========================================
------------------------------
_______________________________________________
gmx-users mailing list
gmx-users at gromacs.org
http://lists.gromacs.org/mailman/listinfo/gmx-users
Please search the archive at http://www.gromacs.org/search before posting!
End of gmx-users Digest, Vol 62, Issue 90
*****************************************
_______________________________________________
gmx-users mailing list gmx-users at gromacs.org
http://lists.gromacs.org/mailman/listinfo/gmx-users
Please search the archive at http://www.gromacs.org/search before posting!
Please don't post (un)subscribe requests to the list. Use the
www interface or send it to gmx-users-request at gromacs.org.
Can't post? Read http://www.gromacs.org/mailing_lists/users.php
--
========================================

Justin A. Lemkul
Ph.D. Candidate
ICTAS Doctoral Scholar
Department of Biochemistry
Virginia Tech
Blacksburg, VA
jalemkul[at]vt.edu | (540) 231-9080
http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin

========================================
Mark Abraham
2009-06-17 14:19:42 UTC
Permalink
Post by Anna Marabotti
Hi,
; Include water topology
Post by Anna Marabotti
#include "spc.itp"
.................
Post by Anna Marabotti
; Include generic topology for ions
#include "ions.itp"
; Include topology for SDS
#include "SDS.itp"
[ system ]
; Name
Protein in water with SDS
[ molecules ]
; Compound #mols
Protein 1
SDS 2000
SOL 36173
You have defined your Protein, then the water, then ions and then SDS.
But in [ molecules ] you have the order Protein - SDS - water; but these
two orders must be the same.
-> Delete the line, which Justin suggested und put the *#include
"SDS.itp"* before the *#include "spc.itp"*, then i think all must be fine.
I believe this is not true. The order within [ molecules ] must match
the ordering in the coordinate file supplied with this .top file to
grompp. There would be no good reason to implement grompp such that it
ignored the molecule type names and required the same ordering of the [
moleculetype ] sections as in [ molecules ] - lookup of string names
would be much more robust and user-friendly.

Mark
Anna Marabotti
2009-06-17 14:49:32 UTC
Permalink
Dear all,
thank you for continuous support. Here briefly what I made:

1) I deleted SDS from the first [moleculetype] section of the old .top file = doesn't work
2) I added a new [moleculetype] section after #include "ions.itp", followed by #include "SDS.itp" (just before
[ system ] and [ molecule ] sections - I think it is "after the final subsection of any other [moleculetype]
section" as Mark suggested) = doesn't work
3) In [ molecules ] section I changed the order Protein-SDS-SOL with Protein-SOL-SDS = doesn't work

I really think I did all possible combination of attempts following your last suggestions...but GROMACS still
claims that the number of coordinates in coordinate file does not match topology and the
coordinates in .top file are 0.

I'm copying here the last .top file I produced (and that doesn't work...). I kindly ask you to refer to this
file for any further suggestions.
Anna

;
; File 'my_prot.top' was generated
; By user: anna (62867)
; On host: bioserv1.isa.cnr.it
; At date: Tue Jun 16 16:15:08 2009
;
; This is your topology file
; "The World is a Friendly Place" (Magnapop)
;
; Include forcefield parameters
#include "ffG43a1.itp"

[ moleculetype ]
; Name nrexcl
Protein 3

[ atoms ]
; nr type resnr residue atom cgnr charge mass typeB chargeB massB
1 NL 1 SER N 1 0.129 14.0067 ; qtot 0.129
2 H 1 SER H1 1 0.248 1.008 ; qtot 0.377
3 H 1 SER H2 1 0.248 1.008 ; qtot 0.625
.........................................................................................
.........................................................................................
2280 C 229 GLU C 980 0.27 12.011 ; qtot -6.73
2281 OM 229 GLU O1 980 -0.635 15.9994 ; qtot -7.365
2282 OM 229 GLU O2 980 -0.635 15.9994 ; qtot -8

[ bonds ]
; ai aj funct c0 c1 c2 c3
1 2 2 gb_2
1 3 2 gb_2
1 4 2 gb_2
1 5 2 gb_20
.......................................................
.......................................................
2275 2276 2 gb_26
2276 2277 2 gb_26
2277 2278 2 gb_5
2277 2279 2 gb_5
2280 2281 2 gb_5
2280 2282 2 gb_5

[ pairs ]
; ai aj funct c0 c1 c2 c3
1 7 1
1 10 1
1 11 1
...................................
...................................
2273 2275 1
2273 2280 1
2274 2277 1
2275 2278 1
2275 2279 1
2275 2281 1
2275 2282 1
2276 2280 1

[ angles ]
; ai aj ak funct c0 c1 c2 c3
2 1 3 2 ga_9
2 1 4 2 ga_9
2 1 5 2 ga_10
3 1 4 2 ga_9
3 1 5 2 ga_10
.....................................
.....................................
2275 2276 2277 2 ga_14
2276 2277 2278 2 ga_21
2276 2277 2279 2 ga_21
2278 2277 2279 2 ga_37
2274 2280 2281 2 ga_21
2274 2280 2282 2 ga_21
2281 2280 2282 2 ga_37

[ dihedrals ]
; ai aj ak al funct c0 c1 c2 c3 c4
c5
2 1 5 9 1 gd_14
1 5 6 7 1 gd_17
1 5 9 11 1 gd_20
5 6 7 8 1 gd_12
5 9 11 13 1 gd_4
..............................................
..............................................
2270 2272 2274 2280 1 gd_19
2272 2274 2275 2276 1 gd_17
2272 2274 2280 2282 1 gd_20
2274 2275 2276 2277 1 gd_17
2275 2276 2277 2279 1 gd_20

[ dihedrals ]
; ai aj ak al funct c0 c1 c2 c3
5 1 9 6 2 gi_2
9 5 11 10 2 gi_1
11 9 13 12 2 gi_1
14 13 16 15 2 gi_1
16 14 18 17 2 gi_1
18 16 20 19 2 gi_2
20 18 22 21 2 gi_1
..........................................
..........................................
2260 2256 2258 2261 2 gi_1
2262 2249 2264 2263 2 gi_1
2264 2262 2266 2265 2 gi_1
2266 2264 2270 2267 2 gi_2
2270 2266 2272 2271 2 gi_1
2272 2270 2274 2273 2 gi_1
2274 2272 2280 2275 2 gi_2
2276 2279 2278 2277 2 gi_1
2280 2274 2282 2281 2 gi_1

; Include Position restraint file
#ifdef POSRES
#include "posre.itp"
#endif

; Include water topology
#include "spc.itp"

#ifdef POSRES_WATER
; Position restraint for each water oxygen
[ position_restraints ]
; i funct fcx fcy fcz
1 1 1000 1000 1000
#endif

; Include generic topology for ions
#include "ions.itp"

[ moleculetype ]
; Name nrexcl
SDS 3

; Include topology for SDS
#include "SDS.itp"

[ system ]
; Name
Protein in water with SDS

[ molecules ]
; Compound #mols
Protein 1
SOL 36173
SDS 2000

I hope

______________________________________________
Anna Marabotti, Ph.D.
Laboratory of Bioinformatics and Computational Biology
Institute of Food Science, CNR
Via Roma 64
83100 Avellino (Italy)
Phone: +39 0825 299651
Fax: +39 0825 781585
Skype: annam1972
E-mail: amarabotti at isa.cnr.it
Web page: http://bioinformatica.isa.cnr.it/anna/anna.htm
____________________________________________________
"If you think you are too small to make a difference, try sleeping with a mosquito"
Justin A. Lemkul
2009-06-17 14:53:42 UTC
Permalink
Anna Marabotti wrote:

<snip>
Post by Anna Marabotti
[ moleculetype ]
; Name nrexcl
SDS 3
; Include topology for SDS
#include "SDS.itp"
Isn't this moleculetype already specified within SDS.itp? Perhaps posting the
contents of SDS.itp will help solve this issue; the rest of the topology seems
fine, except this section.
Post by Anna Marabotti
[ system ]
; Name
Protein in water with SDS
[ molecules ]
; Compound #mols
Protein 1
SOL 36173
SDS 2000
The [ molecules ] section must be in the same order as your coordinate file.

-Justin
Post by Anna Marabotti
I hope
______________________________________________
Anna Marabotti, Ph.D.
Laboratory of Bioinformatics and Computational Biology
Institute of Food Science, CNR
Via Roma 64
83100 Avellino (Italy)
Phone: +39 0825 299651
Fax: +39 0825 781585
Skype: annam1972
E-mail: amarabotti at isa.cnr.it
Web page: http://bioinformatica.isa.cnr.it/anna/anna.htm
____________________________________________________
"If you think you are too small to make a difference, try sleeping with a mosquito"
_______________________________________________
gmx-users mailing list gmx-users at gromacs.org
http://lists.gromacs.org/mailman/listinfo/gmx-users
Please search the archive at http://www.gromacs.org/search before posting!
Please don't post (un)subscribe requests to the list. Use the
www interface or send it to gmx-users-request at gromacs.org.
Can't post? Read http://www.gromacs.org/mailing_lists/users.php
--
========================================

Justin A. Lemkul
Ph.D. Candidate
ICTAS Doctoral Scholar
Department of Biochemistry
Virginia Tech
Blacksburg, VA
jalemkul[at]vt.edu | (540) 231-9080
http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin

========================================
Anna Marabotti
2009-06-17 15:50:53 UTC
Permalink
Dear all,
as requested, I'm copying here the SDS.itp file (it should be not too big):

; This file was generated by PRODRG version AA081006.0504
; PRODRG written/copyrighted by Daan van Aalten
; and Alexander Schuettelkopf
;
; Questions/comments to dava at davapc1.bioch.dundee.ac.uk
;
; When using this software in a publication, cite:
; A. W. Schuettelkopf and D. M. F. van Aalten (2004).
; PRODRG - a tool for high-throughput crystallography
; of protein-ligand complexes.
; Acta Crystallogr. D60, 1355--1363.

[ moleculetype ]
; Name nrexcl
SDS 3

[ atoms ]
; nr type resnr resid atom cgnr charge mass
1 OM 1 SDS O1S 1 -1.115 15.9994
2 SDMSO 1 SDS S 1 2.344 32.0600
3 OM 1 SDS O3S 1 -1.114 15.9994
4 OM 1 SDS O4 1 -1.115 15.9994
5 OA 1 SDS O2S 2 -0.211 15.9994
6 CH2 1 SDS C1 2 0.053 14.0270
7 CH2 1 SDS C12 2 0.053 14.0270
8 CH2 1 SDS C11 2 0.052 14.0270
9 CH2 1 SDS C10 2 0.053 14.0270
10 CH2 1 SDS C9 3 0.000 14.0270
11 CH2 1 SDS C8 3 0.000 14.0270
12 CH2 1 SDS C7 3 0.000 14.0270
13 CH2 1 SDS C6 3 0.000 14.0270
14 CH2 1 SDS C5 3 0.000 14.0270
15 CH2 1 SDS C4 3 0.000 14.0270
16 CH2 1 SDS C3 3 0.000 14.0270
17 CH3 1 SDS C2 4 0.000 15.0350

[ bonds ]
; ai aj fu c0, c1, ...
2 1 2 0.153 8040000.0 0.153 8040000.0 ; S O1S
2 3 2 0.153 8040000.0 0.153 8040000.0 ; S O3S
2 4 2 0.153 8040000.0 0.153 8040000.0 ; S O4
2 5 2 0.153 8040000.0 0.153 8040000.0 ; S O2S
6 5 2 0.143 8180000.0 0.143 8180000.0 ; C1 O2S
6 7 2 0.153 7150000.0 0.153 7150000.0 ; C1 C12
7 8 2 0.153 7150000.0 0.153 7150000.0 ; C12 C11
8 9 2 0.153 7150000.0 0.153 7150000.0 ; C11 C10
9 10 2 0.153 7150000.0 0.153 7150000.0 ; C10 C9
10 11 2 0.153 7150000.0 0.153 7150000.0 ; C9 C8
11 12 2 0.153 7150000.0 0.153 7150000.0 ; C8 C7
12 13 2 0.153 7150000.0 0.153 7150000.0 ; C7 C6
13 14 2 0.153 7150000.0 0.153 7150000.0 ; C6 C5
14 15 2 0.153 7150000.0 0.153 7150000.0 ; C5 C4
15 16 2 0.153 7150000.0 0.153 7150000.0 ; C4 C3
16 17 2 0.153 7150000.0 0.153 7150000.0 ; C3 C2

[ pairs ]
; ai aj fu c0, c1, ...
1 6 1 ; O1S C1
2 7 1 ; S C12
3 6 1 ; O3S C1
4 6 1 ; O4 C1
5 8 1 ; O2S C11
6 9 1 ; C1 C10
7 10 1 ; C12 C9
8 11 1 ; C11 C8
9 12 1 ; C10 C7
10 13 1 ; C9 C6
11 14 1 ; C8 C5
12 15 1 ; C7 C4
13 16 1 ; C6 C3
14 17 1 ; C5 C2

[ angles ]
; ai aj ak fu c0, c1, ...
1 2 3 2 109.5 518.0 109.5 518.0 ; O1S S O3S
1 2 4 2 109.5 518.0 109.5 518.0 ; O1S S O4
1 2 5 2 109.5 518.0 109.5 518.0 ; O1S S O2S
3 2 4 2 109.5 518.0 109.5 518.0 ; O3S S O4
3 2 5 2 109.5 518.0 109.5 518.0 ; O3S S O2S
4 2 5 2 109.5 518.0 109.5 518.0 ; O4 S O2S
2 5 6 2 120.0 530.0 120.0 530.0 ; S O2S C1
5 6 7 2 109.5 520.0 109.5 520.0 ; O2S C1 C12
6 7 8 2 109.5 520.0 109.5 520.0 ; C1 C12 C11
7 8 9 2 109.5 520.0 109.5 520.0 ; C12 C11 C10
8 9 10 2 109.5 520.0 109.5 520.0 ; C11 C10 C9
9 10 11 2 109.5 520.0 109.5 520.0 ; C10 C9 C8
10 11 12 2 109.5 520.0 109.5 520.0 ; C9 C8 C7
11 12 13 2 109.5 520.0 109.5 520.0 ; C8 C7 C6
12 13 14 2 109.5 520.0 109.5 520.0 ; C7 C6 C5
13 14 15 2 109.5 520.0 109.5 520.0 ; C6 C5 C4
14 15 16 2 109.5 520.0 109.5 520.0 ; C5 C4 C3
15 16 17 2 109.5 520.0 109.5 520.0 ; C4 C3 C2

[ dihedrals ]
; ai aj ak al fu c0, c1, m, ...
2 1 4 3 2 35.3 334.8 35.3 334.8 ; imp S O1S O4 O3S
1 2 5 6 1 0.0 1.3 3 0.0 1.3 3 ; dih O1S S O2S C1
7 6 5 2 1 0.0 1.3 3 0.0 1.3 3 ; dih C12 C1 O2S S
8 7 6 5 1 0.0 5.9 3 0.0 5.9 3 ; dih C11 C12 C1 O2S
9 8 7 6 1 0.0 5.9 3 0.0 5.9 3 ; dih C10 C11 C12 C1
10 9 8 7 1 0.0 5.9 3 0.0 5.9 3 ; dih C9 C10 C11 C12
11 10 9 8 1 0.0 5.9 3 0.0 5.9 3 ; dih C8 C9 C10 C11
12 11 10 9 1 0.0 5.9 3 0.0 5.9 3 ; dih C7 C8 C9 C10
13 12 11 10 1 0.0 5.9 3 0.0 5.9 3 ; dih C6 C7 C8 C9
14 13 12 11 1 0.0 5.9 3 0.0 5.9 3 ; dih C5 C6 C7 C8
15 14 13 12 1 0.0 5.9 3 0.0 5.9 3 ; dih C4 C5 C6 C7
16 15 14 13 1 0.0 5.9 3 0.0 5.9 3 ; dih C3 C4 C5 C6
17 16 15 14 1 0.0 5.9 3 0.0 5.9 3 ; dih C2 C3 C4 C5

...end-of-file

As I told sometimes ago, I obtained this file from PRODRG starting from a SDS.pdb file that I created using
SDS coordinates found in another .pdb file (I simply copied and pasted the SDS coordinates in a new file and
called it SDS.pdb). For my simulations, however, I used the SDS.gro file and SDS.itp file generated by PRODRG.
I notice that the section [ moleculetype] is present in SDS.itp, but nothing changes if I erase the [
moleculetype ] section for SDS in my_prot.top: in all cases it doesn't work...
I also copied and pasted the entire topology of SDS explicitly into my_prot.top instead of typing #include
"SDS.itp", and nothing changed again...

Concerning the order of molecules in the last [ molecules ] section, I changed it several times, and nothing
changed...

I'm still with an unclarified question: why genbox did not create by itself all corrections necessary to the
original .top file when I used the -ci -nmol options? I added the -p flag but it doesn't change the topology
by itself (as it should do, in my opinion).

Thank you again
Anna
______________________________________________
Anna Marabotti, Ph.D.
Laboratory of Bioinformatics and Computational Biology
Institute of Food Science, CNR
Via Roma 64
83100 Avellino (Italy)
Phone: +39 0825 299651
Fax: +39 0825 781585
Skype: annam1972
E-mail: amarabotti at isa.cnr.it
Web page: http://bioinformatica.isa.cnr.it/anna/anna.htm
____________________________________________________
"If you think you are too small to make a difference, try sleeping with a mosquito"
Justin A. Lemkul
2009-06-17 16:01:35 UTC
Permalink
Post by Anna Marabotti
Dear all,
; This file was generated by PRODRG version AA081006.0504
; PRODRG written/copyrighted by Daan van Aalten
; and Alexander Schuettelkopf
;
; Questions/comments to dava at davapc1.bioch.dundee.ac.uk
;
; A. W. Schuettelkopf and D. M. F. van Aalten (2004).
; PRODRG - a tool for high-throughput crystallography
; of protein-ligand complexes.
; Acta Crystallogr. D60, 1355--1363.
[ moleculetype ]
; Name nrexcl
SDS 3
OK, as I thought, if you #include "SDS.itp" you should NOT specify a separate
[moleculetype] directive in your system .top file.

<snip>
Post by Anna Marabotti
As I told sometimes ago, I obtained this file from PRODRG starting from a SDS.pdb file that I created using
SDS coordinates found in another .pdb file (I simply copied and pasted the SDS coordinates in a new file and
called it SDS.pdb). For my simulations, however, I used the SDS.gro file and SDS.itp file generated by PRODRG.
I notice that the section [ moleculetype] is present in SDS.itp, but nothing changes if I erase the [
moleculetype ] section for SDS in my_prot.top: in all cases it doesn't work...
I also copied and pasted the entire topology of SDS explicitly into my_prot.top instead of typing #include
"SDS.itp", and nothing changed again...
Well, the .itp file itself seems to have been properly generated.
Post by Anna Marabotti
Concerning the order of molecules in the last [ molecules ] section, I changed it several times, and nothing
changed...
I'm still with an unclarified question: why genbox did not create by itself all corrections necessary to the
original .top file when I used the -ci -nmol options? I added the -p flag but it doesn't change the topology
by itself (as it should do, in my opinion).
It would be nice if the computers did everything for us, wouldn't it? :) Maybe
one day. It looks like automated updates only work for addition of water.
Perhaps this can be a future improvement to genbox.

Have you read the error page for your problem:

http://oldwiki.gromacs.org/index.php/Errors#Number_of_coordinates_in_coordinate_file_does_not_match_topology

There is a specific section on the case where grompp detects 0 coordinates in
the .top that might be relevant.

-Justin
Post by Anna Marabotti
Thank you again
Anna
______________________________________________
Anna Marabotti, Ph.D.
Laboratory of Bioinformatics and Computational Biology
Institute of Food Science, CNR
Via Roma 64
83100 Avellino (Italy)
Phone: +39 0825 299651
Fax: +39 0825 781585
Skype: annam1972
E-mail: amarabotti at isa.cnr.it
Web page: http://bioinformatica.isa.cnr.it/anna/anna.htm
____________________________________________________
"If you think you are too small to make a difference, try sleeping with a mosquito"
_______________________________________________
gmx-users mailing list gmx-users at gromacs.org
http://lists.gromacs.org/mailman/listinfo/gmx-users
Please search the archive at http://www.gromacs.org/search before posting!
Please don't post (un)subscribe requests to the list. Use the
www interface or send it to gmx-users-request at gromacs.org.
Can't post? Read http://www.gromacs.org/mailing_lists/users.php
--
========================================

Justin A. Lemkul
Ph.D. Candidate
ICTAS Doctoral Scholar
Department of Biochemistry
Virginia Tech
Blacksburg, VA
jalemkul[at]vt.edu | (540) 231-9080
http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin

========================================
Anna Marabotti
2009-06-18 15:42:09 UTC
Permalink
Dear Justin,
AAARRRGGGHH! The last case indicated in the wiki section about 0 topology was MY case: probably I was using a
.mdp file that was created with Windows. When I re-wrote my em.mdp file using vi, it worked!!

I'm sorry for all this waste of time, but as I told some days ago, I've problems in seeing the contents of the
GROMACS site (old and new), and I could access to this information only through the link you sent me...

A little suggestion for developers: would it be possible to insert an error message more indicative for this
problem? I don't pretend that computers do everything I need, but it would be nice that they could at least
suggest me a solution in a less cryptic way when I have such a trivial problem, so I can avoid boring the
developers themselves...;-)

Thank you to all for collaboration and best regards
Anna
Post by Anna Marabotti
Dear all,
; This file was generated by PRODRG version AA081006.0504
; PRODRG written/copyrighted by Daan van Aalten
; and Alexander Schuettelkopf
;
; Questions/comments to dava at davapc1.bioch.dundee.ac.uk
;
; A. W. Schuettelkopf and D. M. F. van Aalten (2004).
; PRODRG - a tool for high-throughput crystallography
; of protein-ligand complexes.
; Acta Crystallogr. D60, 1355--1363.
[ moleculetype ]
; Name nrexcl
SDS 3
OK, as I thought, if you #include "SDS.itp" you should NOT specify a separate
[moleculetype] directive in your system .top file.

<snip>
Post by Anna Marabotti
As I told sometimes ago, I obtained this file from PRODRG starting from a SDS.pdb file that I created using
SDS coordinates found in another .pdb file (I simply copied and pasted the SDS coordinates in a new file and
called it SDS.pdb). For my simulations, however, I used the SDS.gro file and SDS.itp file generated by
PRODRG.
Post by Anna Marabotti
I notice that the section [ moleculetype] is present in SDS.itp, but nothing changes if I erase the [
moleculetype ] section for SDS in my_prot.top: in all cases it doesn't work...
I also copied and pasted the entire topology of SDS explicitly into my_prot.top instead of typing #include
"SDS.itp", and nothing changed again...
Well, the .itp file itself seems to have been properly generated.
Post by Anna Marabotti
Concerning the order of molecules in the last [ molecules ] section, I changed it several times, and nothing
changed...
I'm still with an unclarified question: why genbox did not create by itself all corrections necessary to the
original .top file when I used the -ci -nmol options? I added the -p flag but it doesn't change the topology
by itself (as it should do, in my opinion).
It would be nice if the computers did everything for us, wouldn't it? :) Maybe
one day. It looks like automated updates only work for addition of water.
Perhaps this can be a future improvement to genbox.

Have you read the error page for your problem:

http://oldwiki.gromacs.org/index.php/Errors#Number_of_coordinates_in_coordinate_file_does_not_match_topology

There is a specific section on the case where grompp detects 0 coordinates in
the .top that might be relevant.

-Justin
Post by Anna Marabotti
Thank you again
Anna
______________________________________________
Anna Marabotti, Ph.D.
Laboratory of Bioinformatics and Computational Biology
Institute of Food Science, CNR
Via Roma 64
83100 Avellino (Italy)
Phone: +39 0825 299651
Fax: +39 0825 781585
Skype: annam1972
E-mail: amarabotti at isa.cnr.it
Web page: http://bioinformatica.isa.cnr.it/anna/anna.htm
____________________________________________________
"If you think you are too small to make a difference, try sleeping with a mosquito"
Mark Abraham
2009-06-18 17:18:06 UTC
Permalink
Post by Anna Marabotti
Dear Justin,
AAARRRGGGHH! The last case indicated in the wiki section about 0 topology was MY case: probably I was using a
.mdp file that was created with Windows. When I re-wrote my em.mdp file using vi, it worked!!
I'm sorry for all this waste of time, but as I told some days ago, I've problems in seeing the contents of the
GROMACS site (old and new), and I could access to this information only through the link you sent me...
A little suggestion for developers: would it be possible to insert an error message more indicative for this
problem? I don't pretend that computers do everything I need, but it would be nice that they could at least
suggest me a solution in a less cryptic way when I have such a trivial problem, so I can avoid boring the
developers themselves...;-)
It's actually an extremely rare cause for the problem, and adding text
about DOS line endings there would confuse people, I think. Future
releases of GROMACS are supposed to have links to the Errors wiki page,
and this kind of information belongs there.

Preventing this problem is simple - even when working on a Windows
machine, don't use its tools for editing files! Use Cygwin, or tunnel
emacs out over X, or use emacs -nw, or vi. In extremis run everything
through dos2unix.

You were unlucky to have been compounding the problem with other
mistakes, though :-)

Mark
Post by Anna Marabotti
Thank you to all for collaboration and best regards
Anna
Post by Anna Marabotti
Dear all,
; This file was generated by PRODRG version AA081006.0504
; PRODRG written/copyrighted by Daan van Aalten
; and Alexander Schuettelkopf
;
; Questions/comments to dava at davapc1.bioch.dundee.ac.uk
;
; A. W. Schuettelkopf and D. M. F. van Aalten (2004).
; PRODRG - a tool for high-throughput crystallography
; of protein-ligand complexes.
; Acta Crystallogr. D60, 1355--1363.
[ moleculetype ]
; Name nrexcl
SDS 3
OK, as I thought, if you #include "SDS.itp" you should NOT specify a separate
[moleculetype] directive in your system .top file.
<snip>
Post by Anna Marabotti
As I told sometimes ago, I obtained this file from PRODRG starting from a SDS.pdb file that I created using
SDS coordinates found in another .pdb file (I simply copied and pasted the SDS coordinates in a new file and
called it SDS.pdb). For my simulations, however, I used the SDS.gro file and SDS.itp file generated by
PRODRG.
Post by Anna Marabotti
I notice that the section [ moleculetype] is present in SDS.itp, but nothing changes if I erase the [
moleculetype ] section for SDS in my_prot.top: in all cases it doesn't work...
I also copied and pasted the entire topology of SDS explicitly into my_prot.top instead of typing #include
"SDS.itp", and nothing changed again...
Well, the .itp file itself seems to have been properly generated.
Post by Anna Marabotti
Concerning the order of molecules in the last [ molecules ] section, I changed it several times, and nothing
changed...
I'm still with an unclarified question: why genbox did not create by itself all corrections necessary to the
original .top file when I used the -ci -nmol options? I added the -p flag but it doesn't change the topology
by itself (as it should do, in my opinion).
It would be nice if the computers did everything for us, wouldn't it? :) Maybe
one day. It looks like automated updates only work for addition of water.
Perhaps this can be a future improvement to genbox.
http://oldwiki.gromacs.org/index.php/Errors#Number_of_coordinates_in_coordinate_file_does_not_match_topology
There is a specific section on the case where grompp detects 0 coordinates in
the .top that might be relevant.
-Justin
Post by Anna Marabotti
Thank you again
Anna
______________________________________________
Anna Marabotti, Ph.D.
Laboratory of Bioinformatics and Computational Biology
Institute of Food Science, CNR
Via Roma 64
83100 Avellino (Italy)
Phone: +39 0825 299651
Fax: +39 0825 781585
Skype: annam1972
E-mail: amarabotti at isa.cnr.it
Web page: http://bioinformatica.isa.cnr.it/anna/anna.htm
____________________________________________________
"If you think you are too small to make a difference, try sleeping with a mosquito"
_______________________________________________
gmx-users mailing list gmx-users at gromacs.org
http://lists.gromacs.org/mailman/listinfo/gmx-users
Please search the archive at http://www.gromacs.org/search before posting!
Please don't post (un)subscribe requests to the list. Use the
www interface or send it to gmx-users-request at gromacs.org.
Can't post? Read http://www.gromacs.org/mailing_lists/users.php
Loading...