krakenuniq icon indicating copy to clipboard operation
krakenuniq copied to clipboard

db-build error: JELLYFISH_BIN: unbound variable

Open sepidehalamouti opened this issue 1 year ago • 4 comments

Hello I get the same krakenuniq-build (V-1.0.3) error as previous issues: krakenuniq-build --db krakenuniqdb/ --kmer-len 31 --threads 10 --taxids-for-genomes --taxids-for-sequences miniconda3/envs/krakenuniq/libexec/build_db.sh: line 64: JELLYFISH_BIN: unbound variable

Appreciate your time looking to this error. Sepideh

sepidehalamouti avatar Mar 14 '23 20:03 sepidehalamouti

resolved with adding --jellyfish-bin argument

sepidehalamouti avatar Mar 14 '23 23:03 sepidehalamouti

What was the argument added to --jellyfish-bin flag please?

Sabrin2020 avatar Mar 16 '23 21:03 Sabrin2020

I had the same error, but to solve it:

@Sabrin2020

# Force to use jellyfish version 1.1.12 from bioconda.
# Otherwise it will instal v2xxx, it will not work
# jellyfish in condaforge is other stuff
conda install -c bioconda jellyfish=1.1.12
# Run in your conda environment, pointing to the jellyfish bin place
krakenuniq-build --build --jellyfish-bin $(type -P -a jellyfish) (..........)

douglasadamoski avatar Aug 16 '23 21:08 douglasadamoski

I think when you install krakenuniq from bioconda, it installs jellyfish but somehow does not know about it. Adding the --jellyfish-bin argument indeed helps.

apredeus avatar Aug 27 '23 11:08 apredeus