Closed bastian-wur closed 4 years ago
You need to have htslib and samtools installed. The first error: error while loading shared libraries: libhts.so.0: cannot open shared object file: No such file or directory
just says it can't find hts lib. Check out: http://www.htslib.org/download/
The make errors are related to the paths you figured out. The compiler needs to know where to fetch all these function definitions from. But then, at run-time it also needs to know where to find the library. For example, the "libhts.so"...
Yeah, you're right. Seems I pointed the makefile to the wrong directory for htslib (to the default installation, not to the one in my conda installation), so that is fixed now :). Still cannot get it to compile :/, samtools now the problem. Could you tell me with which version you compiled it? I've tried 0.1.18, 0.1.19, 1.1, 1.2, 1.3.1, 1.4, 1.5 and 1.6 (just because they were all installed), but there are always errors (different though between the 0.x and 1.x versions, but I guess that should be ^^).
EDIT: Not sure what happened, but at some point during the testing a working executable appeared (for qaCompute and removeUnmapped, not for the rest), and metaSVN is now running with it... Seriously confusing, since I have no idea what combo resulted in the executable, and I cannot reproduce it....mmmhhh....
Hi there,
I wonder what exactly I need to do to get qaTools to compile.
I tried using metaSNV, but when I try to use it, I get:
/exports/mm-hpc/bacteriologie/bastian/tools/metaSNV/src/qaTools/qaCompute: error while loading shared libraries: libhts.so.0: cannot open shared object file: No such file or directory
So I tried using it directly:
/exports/mm-hpc/bacteriologie/bastian/tools/metaSNV/src/qaTools/qaCompute P16005-02-08-2016_S4_All_qc_5GB-fastq-non_human_mRNA-1-fastq-gz.bam test.txt
Which leads to (end of output)
therefore I downloaded qaTools directly, to compile it myself (under the assumption that the issue is caused by the 2 dozen of different processor types in our cluster) So I removed the executable, and just typed "make", which gives me
And my C++ is really bad, so I do not understand what the error means. (I did however replace the path to htslib (which seems to be causing all the trouble) and to samtools)
Any advice :)?
Bastian