Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using a non-bundled htslib version #331

Closed
samfux84 opened this issue Mar 27, 2020 · 4 comments
Closed

Using a non-bundled htslib version #331

samfux84 opened this issue Mar 27, 2020 · 4 comments

Comments

@samfux84
Copy link

Hi,

Is it possible to use a non-bundled htslib to build lumpy-sv 0.3.0 ?

Because using the bundled one requires to clone with "git clone --recursive", which makes the releases provided in https://github.com/arq5x/lumpy-sv/releases useless as they don't contain the content of the htslib directory.

We have several htslib versions installed on our cluster, and I prefer to build from a release tarball instead of using git clone --recursive.

Best regards

Sam

@samfux84
Copy link
Author

samfux84 commented Mar 27, 2020

Will removing

htslib:
        $(shell cd lib/htslib && autoreconf)
        cd lib/htslib && \
        ./configure --disable-bz2 --disable-lzma --enable-libcurl
        CFLAGS="$(CFLAGS) -DBGZF" $(MAKE) -C lib/htslib --no-print-directory CFLAGS="-DBGZF_MT"

from the Makefile and providing an external htslib break lumpy-sv ?

@ryanlayer
Copy link
Collaborator

ryanlayer commented Mar 27, 2020 via email

@samfux84
Copy link
Author

@ryanlayer: Thank you very much for your reply.

I tried building version 0.3.0 with the SPACK package manager that so far only supports version 0.2.13:

https://spack.readthedocs.io/en/latest/package_list.html#lumpy-sv

I could not manage to adapt the package such that it also builds version 0.3.0 fine, therefore I just installed it manually, following your documentation with git clone --recursive.

In any case thank you for being responsive and for providing help.

Best regards

Sam

@ryanlayer
Copy link
Collaborator

ryanlayer commented Mar 27, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants