- 
                Notifications
    You must be signed in to change notification settings 
- Fork 62
Description
Hi,
I'm trying to use Molly.jl to reproduce some of the work I have done in Gromacs, however, it raises error in System building stage.
Specifically, I use the following Gromacs commands to prepare the pdb file(with water box and ions):
gmx pdb2gmx -ff amber99sb -f input.pdb -water spce -ignh -o pro.pdb #-ff forcefiled; -f input file
gmx editconf -f pro.pdb -o pro-box.pdb -d 1.0 -bt octahedron #Add box
gmx solvate -cp pro-box.pdb -cs spc216.gro -p topol.top -o pro-sol.gro #Add solvate
gmx grompp -f em-steep.mdp -c pro-sol.gro -p topol.top -o ion.tpr -maxwarn 1 
echo 14 | gmx genion -s ion.tpr -neutral -conc 0.15 -p topol.top -o pro-ion.pdb 
And use the following Molly.jl code to generate the system:
using Molly
ff = MolecularForceField("ff99SB.xml", "spce_standard.xml")
sys = System("pro-ion.pdb", ff)the ff99SB.xml and spce_standard.xml files are found from openmm source code.
This gives me the following error:
ERROR: LoadError: KeyError: key "HB1" not found
and a lot of warning:
┌ Warning: PDB reader: found unexpected, non-standard atom 'CD1' in residue 'ILE' (resid 527)
└ @ Chemfiles ~/.julia/packages/Chemfiles/NoLfC/src/misc.jl:29
┌ Warning: PDB reader: found unexpected, non-standard atom 'CD1' in residue 'ILE' (resid 527)
└ @ Chemfiles ~/.julia/packages/Chemfiles/NoLfC/src/misc.jl:29
┌ Warning: PDB reader: found unexpected, non-standard atom 'CD1' in residue 'ILE' (resid 527)
└ @ Chemfiles ~/.julia/packages/Chemfiles/NoLfC/src/misc.jl:29
┌ Warning: PDB reader: found unexpected, non-standard atom 'O' in residue 'LYS' (resid 528)
└ @ Chemfiles ~/.julia/packages/Chemfiles/NoLfC/src/misc.jl:29
┌ Warning: PDB reader: found unexpected, non-standard atom 'O' in residue 'LYS' (resid 528)
...
I know the process of combining openmm, Gromacs and Molly.jl toolchain is kind of error prone. However, since Molly.jl currently does not have toolset for processing pdb files(creating water box, adding ions, etc), this is the best I come up with...
Do you have any clues about what's going on here? Any suggestions on pdb preparation for Molly.jl?