计算化学公社

标题: 请教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



作者
Author:
sobereva    时间: 2023-7-29 12:54
以北京科音分子动力学与GROMACS培训班(http://www.keinsci.com/workshop/KGMX_content.html)里的1UBQ文件夹为例,在CentOS的终端里用毫无问题

(, 下载次数 Times of downloads: 10)

要么你没写对,要么用了什么古怪的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}',就没有问题。感谢感谢!




欢迎光临 计算化学公社 (http://bbs.keinsci.com/) Powered by Discuz! X3.3