标题: 请教gmx sasa在bash下运行报错 [打印本页] 作者Author: jia1012428 时间: 2023-7-29 08:13 标题: 请教gmx sasa在bash下运行报错 老师您好,我看了教程上面的gmx sasa -f md_0_1.xtc -s md_0_1.tpr -surface “group protein” -output ‘”Hydrophobic” group protein and charge {-0.2 to 0.2}; “Hydrophilic” group protein and not charge {-0.2 to 0.2}’这个命令,但是在bash下运行会报错,请问有例子作为参考吗。下面是错误提示,Error in user input:
Invalid command-line options
In command-line option -surface
Near '▒'
syntax error
In command-line option -output
Invalid selection 'group'
Near 'group'
syntax error
In command-line option -output
Invalid selection 'and'
Near 'and'
syntax error
In command-line option -output
Invalid selection 'charge'
Near 'charge'
syntax error
In command-line option -output
Invalid selection '{-0.2'
Near '{'
syntax error
In command-line option -output
Invalid selection 'to'
Near 'to'
syntax error
In command-line option -output
Invalid selection '0.2}'
Near '}'
syntax error
要么你没写对,要么用了什么古怪的shell 作者Author: jia1012428 时间: 2023-7-29 15:34
老师,我双引号符号写错了,我用你之前回答别人的写法gmx sasa -f md_0_1.xtc -s md_0_1.tpr -surface 'group protein' -output '"Hydrophobic" group protein and charge {-0.2 to 0.2}; "Hydrophilic" group protein and not charge {-0.2 to 0.2}',就没有问题。感谢感谢!