Cannot install ATHLATES, issues with bamtools
0
0
Entering edit mode
5.6 years ago

I am trying to install Athlates (July 31, 2014 version) from the instruction here: https://hpc.nih.gov/docs/Athlates.pdf on a computing cluster. However, I am running into issues with the corresponding bamtools. The Athlates makefile echoes the following command:

/usr/bin/g++ -O3 -I/n/home05/aewhatley/bamtools/include/ -L/n/home05/aewhatley/bamtools/lib *.cpp -o ../bin/typing -lpthread -lbamtools -lz


However, after installing bamtools (instructions here: https://github.com/pezmaster31/bamtools/wiki/Building-and-installing), there are no files present in the "/n/home05/aewhatley/bamtools/lib" folder that the command is trying to reach, and there is no "/n/home05/aewhatley/bamtools/include/" folder at all!

Has bamtools been changed since Athlates was created, and if so, how would I install it now? Thanks.

software error • 1.8k views
0
Entering edit mode

If you followed bamtools install instructions, it is "installed" where you downloaded, unpacked and compiled it. So you should set LD_LIBRARY_PATH to point to the lib folder where you compiled bamtools:

export LD_LIBRARY_PATH=\$LD_LIBRARY_PATH:/path/to/bamtools/lib

0
Entering edit mode

I'm aware of that. The issue is that the Athlates installation is failing, and that appears to be because the files are not in the right place, as the include directory does not exist, and the lib directory is empty. Sorry if that was not clear from the OP. I'm asking if anyone knows why this is happening, and how to fix it.

0
Entering edit mode

You mean bamtools is not compiling? So you should troubleshoot installing bamtools first.

0
Entering edit mode

No, sorry, I meant the Athlates installation. I updated the previous comment.

0
Entering edit mode

I'm also having the same problem. I even changed the line #include "api/BamReader.h" in the src/bam_manip.h file to the correct path of BamReader.h of bamtools. Still doesn't work. It still says it can't find api/BamReader.h

0
Entering edit mode

yeah I am also getting the same issue is this issue due to wrong path provided ?