Closed laraPPr closed 1 month ago
To fix the problem with HTSlib, we should add it as a dependency and make it is used, probably with something like HTSDIR=$EBROOTHTSLIB
in buildopts
, see also https://github.com/Nextomics/NextDenovo/blob/master/lib/Makefile#L4
It uses either minimap2 but modified one - https://nextdenovo.readthedocs.io/en/latest/UTILITY.html#minimap2-nd
I was unable to replace htslib by one from EB.
I've tried even to build and use HTSlib-1.9 as they use this version.
Most recent log is https://github.com/vscentrum/vsc-software-stack/blob/wip/397_NextDenovo/log5.txt
There are a lot of undefined reference to
for bsort.c
during gcc -Wall -O3 -Wno-unused-function -o bam_sort bam_sort.c ../lib/bsort.c -I ../lib/htslib/ -lpthread -lcurl -lm -lz -lcrypto
The finall WIP is there: https://github.com/vscentrum/vsc-software-stack/blob/wip/397_NextDenovo/nextdenovo_HTS_test_2.eb
another one there: https://github.com/vscentrum/vsc-software-stack/blob/wip/397_NextDenovo/nextdenovo_HTS_test.eb
@pavelToman The undefined reference
errors hint towards not linking to XZ + bzip2, that's probably what you should try and fix.
Maybe also ask upstream whether linking with your own HTSlib library makes sense/is supported
@pavelToman PR merged, software installed, ready for cleanup
GCC/12.3.0?
Tarball