Pindel can detect breakpoints of large deletions, medium sized insertions, inversions, tandem duplications and other structural variants at single-based resolution from next-gen sequence data. It uses a pattern growth approach to identify the breakpoints of these variants from paired-end short reads.
{
make -C src pindel
make[1]: Entering directory '/home/mylinux/Desktop/the_pindel/pindel/src'
make[1]: No rule to make target '/home/mylinux/Desktop/pindel/htslib/htslib/khash.h', needed by 'pindel.o'. Stop.
make[1]: Leaving directory '/home/mylinux/Desktop/the_pindel/pindel/src'
Makefile:12: recipe for target 'pindel' failed
make: [pindel] Error 2
}
Solution:move pindel and htslib to Desktop,for example:
{
/home/mylinux/Desktop/pindel
}
If the problem is as follows:
{
pindel.cpp:1557:66: error: call of overloaded ‘abs(unsigned int)’ is ambiguous
}
The same ambiguity exists in pindel.cpp, bddata.cpp, genotyping.cpp.
Solution:Using fabs temporarily solves the problem
{
cd src
sed -i 's/abs/fabs/g' pindel.cpp
sed -i 's/abs/fabs/g' bddata.cpp
If the problem is as follows:
{ make -C src pindel make[1]: Entering directory '/home/mylinux/Desktop/the_pindel/pindel/src' make[1]: No rule to make target '/home/mylinux/Desktop/pindel/htslib/htslib/khash.h', needed by 'pindel.o'. Stop. make[1]: Leaving directory '/home/mylinux/Desktop/the_pindel/pindel/src' Makefile:12: recipe for target 'pindel' failed make: [pindel] Error 2 }
Solution:move pindel and htslib to Desktop,for example:
{ /home/mylinux/Desktop/pindel }
If the problem is as follows:
{ pindel.cpp:1557:66: error: call of overloaded ‘abs(unsigned int)’ is ambiguous } The same ambiguity exists in pindel.cpp, bddata.cpp, genotyping.cpp.
Solution:Using fabs temporarily solves the problem
{ cd src sed -i 's/abs/fabs/g' pindel.cpp sed -i 's/abs/fabs/g' bddata.cpp
vi bddata.cpp
then add #include
then :wq
sed -i 's/abs/fabs/g' genotyping.cpp }
then
cd .. ./INSTALL ../hstlib