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

krakenuniq build (with eukaryotes) errors #179

Open
mariafpv opened this issue Aug 6, 2024 · 0 comments
Open

krakenuniq build (with eukaryotes) errors #179

mariafpv opened this issue Aug 6, 2024 · 0 comments

Comments

@mariafpv
Copy link

mariafpv commented Aug 6, 2024

Hello,

I am having difficulties building my database that includes eukaryotes. I have reviewed several issues and tried to implement the solutions suggested. However, I am still having errors:

Kraken build set to minimize disk writes.
Found 56880 sequence files (*.{fna,fa,ffn,fasta,fsa}) in the library directory.
Creating k-mer set (step 1 of 6)...
Using /hpcfs/home/ciencias_biologicas/mf.penav1/.miniforge/envs/krakenuniq/bin/jellyfish
K-mer set created. [4h56m25.561s]
Skipping step 2, no database reduction requested.
Sorting k-mer set (step 3 of 6)...
db_sort: Getting database into memory ...db_sort: unable to mmap database.jdb: Invalid argument

Below I describe what I have done and I would appreciate if you could help me (I am new to this topic):

I installed krakenuniq it in a cluster (NAME="CentOS Linux", VERSION="8", PLATFORM_ID="platform:el8") and downloaded the taxonomy and the sequences:

krakenuniq-download --db /path/dbfolder refseq/protozoa/Complete_Genome
krakenuniq-download --db /path/dbfolder refseq/fungi/Complete_Genome
krakenuniq-download --db /path/dbfolder refseq/invertebrate/Complete_Genome
krakenuniq-download --db /path/dbfolder refseq/plant/Complete_Genome
krakenuniq-download --db /path/dbfolder refseq/vertebrate_mammalian/Complete_Genome
krakenuniq-download --db /path/dbfolder refseq/vertebrate_other/Complete_Genome

In the indicated folder there were 3 folders and files:
library
library-files.txt
taxonomy

I then ran:

krakenuniq-build --db /path/dbfolder \
    --jellyfish-bin /path/.miniforge/envs/krakenuniq/bin/jellyfish \
    --jellyfish-hash-size 10000000000 \
    --kmer-len 31 \
    --threads 40 \
    --taxids-for-genomes \
    --taxids-for-sequences
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

1 participant