This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Problem installing bamtools

I am stuck trying to install bamtools.

When I run make it returns the following

[  0%] Built target SharedHeaders
[  0%] Built target AlgorithmsHeaders
[  0%] Built target APIHeaders
[  1%] Building CXX object api/CMakeFiles/BamTools.dir/BamAlignment.o
/home/emmanuel/bamtools/src/api/BamAlignment.cpp:10:30: fatal error: api/BamAlignment.h: No such file or directory
 #include "api/BamAlignment.h"
                              ^
compilation terminated.
make[2]: *** [api/CMakeFiles/BamTools.dir/BamAlignment.o] Error 1
make[1]: *** [api/CMakeFiles/BamTools.dir/all] Error 2
make: *** [all] Error 2

Please anyone with suggestion on how to solve this problem?

Thanks

bamtools

Not really enough information to give you any help. How are you installing it? What OS are you running? It also hasn't been updated in a year and a half. Is there any reason you aren't just using htslib/samtools (which are extremely well supported and easier to install)? Do you actually need the C++ API or are you just using the command line utilities?

1 answer

use bioconda

Log in to answer this question.