-
Notifications
You must be signed in to change notification settings - Fork 21
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
bowtie2 subprocess using more CPU cores than allowed by -j option #365
Comments
I haven't noticed this, but I also haven't paid close attention. It seems like there might be some discussion of something related over on the bowtie2 issues... |
thanks for the find! seems that issue has been open quite a while. have there ever been any plans to incorporate a choice for the aligner (eg opting to use bwa-mem2 instead of bowtie2)? |
It would be very difficult to substitute another aligner and get full breseq functionality. In particular, the junction prediction steps require finding split read matches and breseq tracks all equivalent locations to which a read aligns. Not all aligners are good at doing these things. Most are optimized for finding the bast match and/or randomly assign a read to one equivalent location. There is an option to use your own aligned SAM files of reads as input to breseq(
I would have thought that disk read/write would be more limiting if you launch many breseq runs that hit the bowtie2 alignment step at the same time. |
opened issue for |
I'm running multiple calls to breseq using GNU
parallel
but i only allow each breseq call to use 1 cpu core with-j 1
.however when looking at my process monitor i see that whenever breseq calls a subprocess step for
bowtie2
it uses more than 1 cpu core:ive logged this as
bowtie2
using 200% CPU (ie 2 cores) when-j 1
and 300% cpu (3 cores) when-j 2
.interestingly, in the breseq output, it shows that every call to
bowtie2
is called with-p 1
so im not sure why it would be trying to use more than 1 core.this is causing problems when trying to efficiently schedule cores/job using
parallel
with my scripts because i assume that 1 core = 1 job, however whenbreseq
/bowtie2
uses more than 1 core, this has been causing problems with CPU overhead and clogging up the threads.anyone come across this before?
The text was updated successfully, but these errors were encountered: