DerrickWood / kraken2

The second version of the Kraken taxonomic sequence classification system
MIT License
687 stars 266 forks source link

Given threads are not getting utilized by kraken2 #772

Open SelfShubham opened 8 months ago

SelfShubham commented 8 months ago

I am providing 20 threads (-- threads 20) while analyzing the data but kraken2 is running very slow as it is not utilizing all the given threads. Please anyone can suggest the possible cause for this. Following are the parameters I am using-

kraken2 --db /media/shubham/16TB_Data/Shubham/kraken2_db_ppfp/ --threads 20 --output taxanomy_barcode01 --report report_t_barcode01.report --use-names --memory-mapping barcode01_compiled.fastq

jenniferlu717 commented 6 months ago

Is it running slow when loading the database or while also classifying?

Did you try running without --memorymapping?