Impact of k-mer length for kraken2 database
1
0
Entering edit mode
5.0 years ago
josmos43 • 0

I am analysing 125bp paired-end metagenomic data, using kraken2 for taxonomic classification. I am running into memory issues, since I am using a very large custom Database. The size of the database is significantly decreased without removing sequences, when I increase the k-mer length. Currently i am using a value of 43 instead of the default of 35. I don't know how this is going to affect my results. The documentation does not give any clear information about this issue. Is it save to increase this value or should I rather remove some sequences to reduce the database size?

sequence • 2.4k views
ADD COMMENT
0
Entering edit mode
12 weeks ago
Dave • 0

If you are having memory issues, you can add this flag to your command:

--memory-mapping

To avoid loading all your database into RAM.

ADD COMMENT

Login before adding your answer.

Traffic: 1849 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6