-
Notifications
You must be signed in to change notification settings - Fork 43
Compile Source Codes on Red Hat Enterprise Linux 7.4
zhanxw edited this page Sep 16, 2017
·
3 revisions
Compile on RedHat Enterprise 7.4
(Edited on September 15, 2017)
Enter the following commands to install prerequisite software and libraries:
sudo yum -y install epel-release
sudo yum -y update
sudo yum -y install \
wget \
bzip2 \
gcc \
gcc-c++ \
gcc-gfortran \
make \
git \
zlib-devel
sudo yum clean all
Then obtain RVTESTS source codes and compile:
git clone https://github.com/zhanxw/rvtests
cd rvtests
make
After compilation, the executable file can be found under rvtests/executable
.
You can start with:
rvtests/executable --help
If you encounter problems related to memory, please try to allocate more swap space and compile again.
# allocate swap space
sudo dd if=/dev/zero of=/mnt/1GB.swap count=1024 bs=1M
sudo mkswap /mnt/1GB.swap
sudo swapon /mnt/1GB.swap
# compile again
make STATIC_FLAG=""
Please consider citing our work:
Xiaowei Zhan, Youna Hu, Bingshan Li, Goncalo R. Abecasis, and Dajiang J. Liu
RVTESTS: An Efficient and Comprehensive Tool for Rare Variant Association Analysis Using Sequence Data
Bioinformatics 2016 32: 1423-1426. doi:10.1093/bioinformatics/btw079 (PDF)