[gmx-users] pdb2gmx: Selecting Force Field in first command
Justin Lemkul
jalemkul at vt.edu
Sat Apr 11 03:09:45 CEST 2020
On 4/10/20 9:03 PM, fernando at hypernetlabs.io wrote:
> Hi all!
>
> Context
>
> I'm trying to run simple gromacs example commands below
>
> * gmx pdb2gmx -f 1aki.pdb -o 1aki_processed.gro -water spce
> * gmx pdb2gmx -f KALP-15_princ.pdb -o KALP-15_processed.gro -ignh -ter
> -water spc
>
>
>
> In a Docker container with a Dockerfile (Dockerfile = instruction file for
> auto execution inside the container) containing the below:
>
>
>
> FROM mariojmdavid/gromacs-cuda:2019.3-runtime <-- thanks Mario! :)
>
> WORKDIR /usr/local/gromacs
>
> COPY . /usr/local/gromacs
>
> ENTRYPOINT ["/usr/local/gromacs/bin/gmx","pdb2gmx", "-f", "1aki.pdb", "-o",
> "1aki_processed.gro", "-water", "spce"]
>
>
>
> Problem
>
> Both simple examples ask to 'Select the Force Field' after the 1st command
> is executed. A Docker container is non-interactive so I can't really pass my
> option for Force Field after I send it off to auto-execute remotely.
>
>
>
> Question
>
> Does anyone know how I can pass my Force Field selection from the start?
That's what the -ff flag does. See gmx help pdb2gmx for all command-line
options.
-Justin
--
==================================================
Justin A. Lemkul, Ph.D.
Assistant Professor
Office: 301 Fralin Hall
Lab: 303 Engel Hall
Virginia Tech Department of Biochemistry
340 West Campus Dr.
Blacksburg, VA 24061
jalemkul at vt.edu | (540) 231-3129
http://www.thelemkullab.com
==================================================
More information about the gromacs.org_gmx-users
mailing list