Rate This Document
Findability
Accuracy
Completeness
Readability

Compiling and Installing LDBlockShow

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Run the following command to install the base dependency:
    yum install zlib perl-ExtUtils-CBuilder perl-ExtUtils-MakeMaker
  3. Run the following commands to configure the compilers:
    export CC=`which gcc`
    export CXX=`which g++`
    export FC=`which gfortran`
  4. Run the following commands to install SVG:
    tar -xzf SVG-2.85.tar.gz
    cd SVG-2.85
    perl Makefile.PL
    make
    make install
  5. Run the following commands to install LDBlockShow:
    tar -zxvf v1.36.tar.gz
    cd LDBlockShow-1.36
    chmod +x configure
    ./configure
    make
    cp LDBlockShow ./bin/
    cp: overwrite './bin/LDBlockShow'? y
  6. Run the following commands to install PLINK:
    yum install blas-devel lapack-devel atlas-devel perl-Digest-SHA -y
    ln -s /usr/lib64/atlas/libtatlas.so.3.10 /usr/lib64/atlas/libatlas.so
    ln -s /usr/lib64/atlas/libsatlas.so.3.10 /usr/lib64/atlas/libcblas.so
    tar -zxf master.tar.gz
    mv zlib-1.2.11.tar.gz plink-ng-master
    cd plink-ng-master/1.9 && sed -i '0,/curl/s/curl/# curl/g' plink_first_compile
    ./plink_first_compile
    cp plink /path/to/LDBLOCKSHOW/LDBlockShow-1.36/bin/
    cp: overwrite '/path/to/LDBLOCKSHOW/LDBlockShow-1.36/bin/plink'? y