-
Notifications
You must be signed in to change notification settings - Fork 24
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
How to improve the efficiency on a single sample? #439
Comments
Hi, You are correct that ncore mainly speeds up the performance when running multiple samples as we distribute each sample to a different core for read class construction and quantification. For single samples improving yieldSize will speed up performance as that increases the amount of reads processed at a time from the bam file, this will come as a trade off to memory usage so be careful there. Hope this answers your questions. |
Thanks for your reply. By the way, do you know the reason of the error at Test2? I think it is caused by set |
Hi, |
Hi, I want to use bambu(v3.5.1) on single sample while it seems that the parameter
ncore
is applied to improve the efficiency of multisamples. So I tested different combinations of parameters to improve the efficiency of bambu on a single sample. I use a small data(.bam, 70M). But I didn't find the right combination of parameters. So how should I set it up to increase the running speed? Currently, I have 5 cpu's set up, but bambu is only using 1 and the remaining 4 are all idle.1. Test1: just set ncore=5
The efficiency is listed below and it is very low(~10%)
2. Test2: Set lowMemory=TRUE and ncore=5
The efficiency was improved a little(~20%). But while I set
lowMemory=TRUE
,it reported errors.3. Test3: set ncore=5 and yieldSize=1e6(improve from 1e5 to 1e9)
A little bit higher efficiency than Test1, so should I improve the value of
yieldSize
?The text was updated successfully, but these errors were encountered: