MusigCV安装

时间:2023-03-09 21:37:20
MusigCV安装

首先,将下载的安装文件zip包,http://www.mathworks.com/products/compiler/mcr/ MCR2013a

然后依次执行下面的命令:

进入目录:cd /tmp

解压缩:unzip MCR_R2012a_glnxa64_installer.zip -d MCR_R2012a_glnxa64_installer

进入子目录:cd MCR_R2012a_glnxa64_installer

安装:./install -mode silent -agreeToLicense  yes

当出现下面的字样的时候,就表示MCR安装成功了:

Exiting with status 0

End – Successful.

Finished

然后提示需要设置环境变量

export MCR_HOME=/usr/local/MATLAB/MATLAB_Compiler_Runtime

export LD_LIBRARY_PATH=/usr/local/MATLAB/MATLAB_Compiler_Runtime/v81/runtime/glnxa64:/usr/local/MATLAB/MATLAB_Compiler_Runtime/v81/bin/glnxa64:/usr/local/MATLAB/MATLAB_Compiler_Runtime/v81/sys/os/glnxa64:/usr/local/MATLAB/MATLAB_Compiler_Runtime/v81/sys/java/jre/glnxa64/jre/lib/amd64/native_threads:/usr/local/MATLAB/MATLAB_Compiler_Runtime/v81/sys/java/jre/glnxa64/jre/lib/amd64/server:/usr/local/MATLAB/MATLAB_Compiler_Runtime/v81/sys/java/jre/glnxa64/jre/lib/amd64

export XAPPLRESDIR=/usr/local/MATLAB/MATLAB_Compiler_Runtime/v81/X11/app-defaults

下载mutsig安装包

运行

./run_MutSigCV.sh /usr/local/MATLAB/MATLAB_Compiler_Runtime/v81/ file.maf exome_full192.coverage.txt gene.covariates.txt test.txt mutation_type_dictionary_file.txt chr_files_hg19

测试完成即可。