jenniferlu717 / Bracken

Bracken (Bayesian Reestimation of Abundance with KrakEN) is a highly accurate statistical method that computes the abundance of species in DNA sequences from a metagenomics sample.
http://ccb.jhu.edu/software/bracken/index.shtml
GNU General Public License v3.0
289 stars 50 forks source link

kmer2read_distr uses omp_get_num_procs() instead of omp_get_num_threads() to check the validity of the -t parameter #205

Open smdabdoub opened 1 year ago

smdabdoub commented 1 year ago

https://github.com/jenniferlu717/Bracken/blob/699e89169b72c5330c64259dcbafa1a40133f3f2/src/kmer2read_distr.cpp#L170

smdabdoub commented 1 year ago

Although, after re-compiling with the threads function, it still complains with anything >1, and I have OMP_NUM_THREADS set correctly for building with kraken2, and it works there.