我正在尝试安装 xscore v1.3 ( XSCORE MANUAL )。它们提供了在 C-shell 下的 .cshrc 文件中设置一些环境变量的说明。
setenv XTOOL_HOME the_installation_directory_of_X-Score
setenv XTOOL_PARAMETER $XTOOL_HOME/parameter
setenv XTOOL_BIN $XTOOL_HOME/bin
set path = ($path $XTOOL_BIN)
If you are using other types of shell, please add the equivalent contents to your configuration file.
Run Code Online (Sandbox Code Playgroud)
由于我使用的是 Bash,我尝试使用他们推荐的等效命令修改 .profile 文件:
# set PATH so it includes user's private bin directories
XTOOL_HOME=/home/marta/Peptide/oficial-MC/sf/xscore_v1.3
XTOOL_PARAMETER=$XTOOL_HOME/parameter
XTOOL_BIN=$XTOOL_HOME/bin
PATH="$HOME/bin:$HOME/.local/bin:$PATH:$HOME/Programs/VMD/:$PATH:$XTOOL_HOME:$PATH:$XTOOL_PARAMETER:$PATH:$XTOOL_BIN"
Run Code Online (Sandbox Code Playgroud)
但是,运行程序时出现以下错误:
marta@dagon:~$ xscore -fixpdb HER21.pdb try.pdb
X-Score starts to run ... Wed Sep 26 09:26:29 2018
Warning: XSCORE_PARAMETER is not …Run Code Online (Sandbox Code Playgroud)