Before you compiling Pindel, you should ensure your system has installed zlib (https://www.zlib.net/).
Then, to compile Pindel you need three things: GNU Make and GCC (which usually are already installed on Linux) and htslib. The last is not installed on Linux by default, but it can be retrieved with:
git clone https://github.com/samtools/htslib or We have integrated htslib in pindel source, you can just use it.
htslib needs to be built before you can start installing Pindel. (Go to htslib's directory, and follow the directions in its readme[https://github.com/samtools/htslib]. At the time of writing this (February 2016) it simply works if you give the commands "make" and "sudo make install".) The command like:
cd ./hitslib
autoreconf -i # Build the configure script and install files it uses
./configure # Optional but recommended, for choosing extra functionality
make
make install
To compile Pindel on OS X, you may need to do more work - 'regular' installation under OS X may work, but in some cases OS X gives problems with the OpenMP library Pindel uses for speedup. In those cases, please follow the instruction on the following page to update your gcc
http://www.ficksworkshop.com/blog/14-coding/65-installing-gcc-on-mac
If htslib has been cloned and installed, go to the pindel directory ([my-path]/pindel) and use the INSTALL script there in the following way:
./INSTALL [path-to-htslib]
for example
./INSTALL ./htslib
After this, you can run pindel by using
./pindel [options]
Plain "./pindel" without command line options will list all available command line options, the FAQ in the Pindel root directory includes a usage example.
If there are any problems with installing or running Pindel, you may be able to find the solution in the FAQ (the FAQ file stored in the same directory as the INSTALL script), otherwise, feel free to open an issue on github (https://github.com/xjtu-omics/pindel/issues) or to contact the main author, Kai Ye, at kaiye@xjtu.edu.cn; Xiaofei Yang, at xfyang@xjtu.edu.cn
Xiaofei Yang, Gaoyang Zheng, Peng Jia, Songbo Wang, Kai Ye, Pindel-TD: a tandem duplication detector based on a pattern growth approach, Genomics, Proteomics & Bioinformatics, 2024;, qzae008, https://doi.org/10.1093/gpbjnl/qzae008
Kai Ye, Marcel H. Schulz, Quan Long, Rolf Apweiler, Zemin Ning, Pindel: a pattern growth approach to detect break points of large deletions and medium sized insertions from paired-end short reads, Bioinformatics, Volume 25, Issue 21, November 2009, Pages 2865–2871, https://doi.org/10.1093/bioinformatics/btp394