nlapier2 / Metalign

Metalign: efficient alignment-based metagenomic profiling via containment min hash
MIT License
32 stars 7 forks source link

Add threads argument to the call of StreamingQueryDNADatabase.py. #42

Open SamGallop-NBI opened 1 year ago

SamGallop-NBI commented 1 year ago

Currently the call to StreamingQueryDNADatabase.py doesn't specify the threads argument. This results in CMash's StreamingQueryDNADatabase.py using the default of multiprocessing.cpu_count() which returns the number of CPUs in the system.

This can cause application performance and memory issues on batch systems (e.g. Slurm) which contain hosts with large core counts.