- Posts: 29
error when using fg2cg tool
- thu nguyen
- Topic Author
- Offline
- Junior Boarder
I use tool fg2cg to convert CG to AA bead. But the error appear
Name of CG water in topology should be W
Segmentation fault (core dumped)
But i checked cg.top and CG water name was W, there is not mistake.
How i can fix this error ?
Thankful for any help!
Thu
Please Log in or Create an account to join the conversation.
- djurre
- Offline
- Admin
- Posts: 272
Please Log in or Create an account to join the conversation.
- thu nguyen
- Topic Author
- Offline
- Junior Boarder
- Posts: 29
g_fg2cg_331 -pfg system.top -pcg cg.top -n 0 -c cg.gro -o fg.gro
file cg.top
#include "martini_v2.2.itp"
#include "Protein_X.itp"
#define RUBBER_BANDS
#include "martini_v2.0_lipids.itp"
[ system ]
; name
Cg system
[ molecules ]
; name number
Protein_X 1
POPC 392
W 8792
Please Log in or Create an account to join the conversation.
- xavier
- Offline
- Admin
- Posts: 416
thu nguyen wrote: I use the comamnd
g_fg2cg_331 -pfg system.top -pcg cg.top -n 0 -c cg.gro -o fg.gro
file cg.top
#include "martini_v2.2.itp"
#include "Protein_X.itp"
#define RUBBER_BANDS
#include "martini_v2.0_lipids.itp"
[ system ]
; name
Cg system
[ molecules ]
; name number
Protein_X 1
POPC 392
W 8792
Please Log in or Create an account to join the conversation.
- djurre
- Offline
- Admin
- Posts: 272
But that should not give the error you mention. Two other options: Is the number of protein particles/lipids and waters the same in the top and gro file and could you also paste the fg "system.top" flie?
Please Log in or Create an account to join the conversation.
- thu nguyen
- Topic Author
- Offline
- Junior Boarder
- Posts: 29
My fg topology is
; Include forcefield parameters
#include "gromos53a6_lipid.ff/forcefield.itp"
[ moleculetype ]
; Name nrexcl
Protein_chain_X 3
; Include Position restraint file
#ifdef POSRES
#include "posre.itp"
#endif
; Include POPC chain topology
#include "popc_53a6.itp"
; Include water topology
#include "gromos53a6_lipid.ff/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 topology for ions
#include "gromos53a6_lipid.ff/ions.itp"
[ system ]
; Name
fg system
[ molecules ]
; Compound #mols
Protein_chain_X 1
POPC 392
SOL 8792
Please Log in or Create an account to join the conversation.
- thu nguyen
- Topic Author
- Offline
- Junior Boarder
- Posts: 29
and there is only top file for fg in input, i want to have fg gro in output :-)
Please Log in or Create an account to join the conversation.
- djurre
- Offline
- Admin
- Posts: 272
Please Log in or Create an account to join the conversation.
- thu nguyen
- Topic Author
- Offline
- Junior Boarder
- Posts: 29
I created fg.gro but all of coordinate values is zero. What's wrong in my work ?
Please Log in or Create an account to join the conversation.
- xavier
- Offline
- Admin
- Posts: 416
I suggest you cleaned your files and start again from scratch and proceed step by step checking if things go well and at which point things go wrong. Once something goes wrong you try to understand why and report to the forum when you et a better idea of what is going wrong.
thu nguyen wrote: Thank Djurre !
I created fg.gro but all of coordinate values is zero. What's wrong in my work ?
Please Log in or Create an account to join the conversation.