GISTIC2.0安装与使用(2018)
2018-10-22 本文已影响115人
王诗翔
在一年前刚开始认识GISTIC这个软件的时候,我写过一篇文档记录安装过程。
Google搜索的第1个中文信息就是。
实际上,GISTIC2已经更新了几个版本,特别是使用了bash替换了之前的csh,这样就不需要再像我以前那样修改和配置了。最近又准备研究一波CNV,好好分析一下,会利用GISTIC2,所以我重新写一篇安装的教程。
下载
wget -c ftp://ftp.broadinstitute.org/pub/GISTIC2.0/GISTIC_2_0_23.tar.gz
解压
mkdir GISTIC2
mv GISTIC_2_0_23.tar.gz GISTIC2/ && cd GISTIC2/
tar zxf GISTIC_2_0_23.tar.gz
此时目录下有这些文件
$ ls
examplefiles LICENSE.txt
example_results MATLAB_Compiler_Runtime
gistic2 MCR_Installer
GISTIC_2_0_23.tar.gz README.txt
GISTICDocumentation_standalone_files refgenefiles
GISTICDocumentation_standalone.htm run_gistic_example
gp_gistic2_from_seg source
INSTALL.txt
安装Matlab环境
mkdir MATLAB_Compiler_Runtime
cd MCR_Installer/
unzip MCRInstaller.zip
./install -mode silent -agreeToLicense yes -destinationFolder ~/biosoft/GISTIC2/MATLAB_Compiler_Runtime/
注意,最后选项填入的路径需要是绝对路径
设置Matlab变量
echo "export XAPPLRESDIR=/home/wsx/biosoft/GISTIC2/MATLAB_Compiler_Runtime/v83/X11/app-defaults:\$XAPPLRESDIR" >> ~/.bashrc
source ~/.bashrc
运行GISTIC示例文件:
cd ../
./run_gistic_example
阅读文档
点击ftp://ftp.broadinstitute.org/pub/GISTIC2.0/GISTICDocumentation_standalone.htm
其实在下载的GISTIC里面就有文档、安装说明等等。