I have written two Chinese blogs for telling readers how to install GISTIC 2.0 (a famous software for copy number analysis) step by step. Recently I realize the installation steps can be implemented automatically, so I write this program.
Update:
- 2020-03-08: add system check
- Download GISTIC 2.0 from ftp://ftp.broadinstitute.org/pub/GISTIC2.0
- Download this repository.
git clone https://github.com/ShixiangWang/install_GISTIC
cd install_GISTIC
chmod u+x install_GISTIC2.sh
- Run script.
This program is a pure bash script and can be run in the following way.
./install_GISTIC2.sh args1 args2
# args1: the path to GISTIC_x_x_xx.tar.gz file
# args2: the install directory, must be absolute path, not relative path
Two ways:
Just pull from Docker hub https://hub.docker.com/r/shixiangwang/gistic.
docker pull shixiangwang/gistic
git clone https://github.com/ShixiangWang/install_GISTIC
cd install_GISTIC
sudo docker build -t gistic:latest .
sudo docker run -it gistic /bin/bash
The installed GISTIC is located at /opt/GISTIC
.
unset DISPLAY
is recommendly added to run script for avoiding X11 related errors.
This program is tested and currently only support GISTIC 2.0.23, any suggestion or pull request is welcome.
MIT © 2019-2020 Shixiang Wang