-
Notifications
You must be signed in to change notification settings - Fork 16
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
installing via conda #10
Comments
Could you tell me what errors? There are no dependencies that I know of.
The make should be very simple.
-- Gene
…On 5/10/21, 12:30 PM, Kamil S. Jaron wrote:
Dear Gene, thanks for making FASTK!
Would you consider making FASTK available also via conda?
I tried to compile it on our cluster, run into some errors and I bet I
am not the only one. Having it on conda would make the life of loads
of people easier.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#10>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABUSINXCKADI3F3B24YC5ETTM6YWDANCNFSM44Q24ONQ>.
|
I think most of the problems will come from non-canonical locations of libraries installed via conda, because when I tried on a personal linux computer it worked without any issue. This is what I tried to compile it on the cluster
I also tried to link the program statically on the personal linux machine, but it dropped like hundreds of linking problems I agian had troubles to understand. |
The The There are various operating systems where |
Thanks @jmarshall that was the last step I needed to get it to work! Does the effort I devoted in installing proving my original point about conda? |
io.c uses internal HTSlib CRAM functions, so it would be a significant amount of work to make that part of the code work with a conda-supplied debundled HTSlib. I expect the (bio)conda maintainers' preference for a fastk conda package would be for it not to bundle either HTSlib or libdeflate. |
I was able, with some changes, to use the following conda recipe and script to build a fastk package: {% set name = "FASTK" %}
{% set version = "1.0" %}
{% set sha256 = "fac24a40ac91487a15356257dd6cad35eccb932d60bbb4c40bc9a6ea394fefc2" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
url: https://github.com/davebx/FASTK/archive/refs/tags/v{{ version }}.tar.gz
sha256: {{ sha256 }}
build:
number: 0
skip: true # [osx]
detect_binary_files_with_prefix: true
requirements:
host:
- bzip2
- zlib
- libcurl==7.61.0
- make
- {{ compiler('cxx') }}
- {{ compiler('c') }}
test:
files:
- test.fa
commands:
- FastK -k5 test.fa
about:
license: Proprietary
summary: A tool.
home: https://github.com/thegenemyers/FASTK export LDFLAGS="-L$SRC_DIR/HTSLIB -L$PREFIX/lib"
export CFLAGS="-I$SRC_DIR -I$SRC_DIR/HTSLIB -I$SRC_DIR/LIBDEFLATE -I$SRC_DIR/LIBDEFLATE/common -I$PREFIX/include -L$SRC_DIR/HTSLIB -L$PREFIX/lib"
export CPPFLAGS="-I$SRC_DIR -I$SRC_DIR/HTSLIB -I$SRC_DIR/LIBDEFLATE -I$SRC_DIR/LIBDEFLATE/common -I$PREFIX/include -L$SRC_DIR/HTSLIB -L$PREFIX/lib"
cd HTSLIB ; make lib-static ; cd -
cd LIBDEFLATE ; make ; cd -
make ; make install |
Hi @KamilSJaron and @thegenemyers . FYI FastK is now in bioconda, https://anaconda.org/bioconda/fastk, from an unofficial source |
Dear Gene, thanks for making FASTK!
Would you consider making FASTK available also via conda?
I tried to compile it on our cluster, run into some errors and I bet I am not the only one. Having it on conda would make the life of loads of people easier.
The text was updated successfully, but these errors were encountered: