|
各位大佬,我在做一个膜蛋白体系的模拟,用CHARMM-GUI生成了文件夹,里面的gromacs文件夹有一个readme文件,里面的教程命令是这样的:
#!/bin/bash
# Equilibration
init="step5_input"
rest_prefix="step5_input"
mini_prefix="step6.0_minimization"
equi_prefix="step6.%d_equilibration"
prod_prefix="step7_production"
prod_step="step7"
cnt=1
cntmax=6
while [ $cnt -le $cntmax ]
do
pcnt=$(($cnt - 1))
istep=$(printf "$equi_prefix" $cnt)
if [ $cnt -eq 1 ]; then
pstep=$mini_prefix
else
pstep=$(printf "$equi_prefix" $pcnt)
fi
gmx grompp -f ${istep}.mdp -o ${istep}.tpr -c ${pstep}.gro -r ${rest_prefix}.gro -p topol.top -n index.ndx
gmx mdrun -v -deffnm ${istep}
cnt=$(($cnt + 1))
done
我打包好的sh文件运行总是报错:
Error in user input:Invalid input values In option s Required option was not provided, and the default file 'topol' does not exist or is not accessible. The following extensions were tried to complete the file name: .tpr
和
Error in user input:
Invalid command-line options
In command-line option -c
File 'step6.5_equilibration.gro' does not exist or is not accessible.
The file could not be opened.
Reason: No such file or directory
(call to fopen() returned error code 2)
|
|