Open rekado opened 3 years ago
@rekado That's right. Currently, the official Rhtslib package is a wrapper over htslib 1.7 (https://github.com/Bioconductor/Rhtslib). However, htslib 1.7 is an outdated version (over 3 years), and lacks many useful features, especially the networking code. For new features, please refer to (https://github.com/samtools/htslib/releases/tag/1.12).
Some of bedtorch's read/write functionality relies on these features. That's why your build failed because of the outdated htslib version. To solve this, I forked Rhtslib and upgraded it so that it is a wrapper of htslib 1.12. I'm going to submit a pull request soon. For now, to avoid name conflict, I named my modified Rhtslib as Rhtslib12 (https://github.com/haizi-zh/Rhtslib12), and bedtorch depends on this specific version of Rhtslib (https://github.com/haizi-zh/bedtorch/blob/main/DESCRIPTION). If you're using devtools
or remotes
, as suggested in README, it should be fine.
BTW: thanks for being interested in this package. Currently I'm trying to improve the performance of several operations. I will release a new commit earlier next week.
Ah, I see. Thanks for clarifying!
My importer code doesn't parse the Remotes
field in the DESCRIPTION
file (and when I ran it the dependency still had the Rhtslib name), so I didn't notice it. I'll update the importer code in Guix and make sure to use your fork of Rhtslib.
Cheers!
Hi,
I'm attempting to package bedtorch for GNU Guix, the reproducible package manager. Unfortunately, it seems that there's an undeclared variable when building with rhtslib 1.22.0:
Indeed, there is no definition of HTS_IDX_SAVE_REMOTE in any of the headers provided in /gnu/store/95ynmhvd3xd0v1bs1g0y3hglhp52ra5v-r-rhtslib-1.22.0/site-library/Rhtslib/include.