-
Notifications
You must be signed in to change notification settings - Fork 59
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
Optimize transcriptome simulation #158
Conversation
I have further optimized the code in afe3cbe. A new sample is only drawn from the KDE if the existing sample was previously used to simulate a read for the candidate transcript. I have repeated my benchmarking trials on the same machine and updated the table above. The reduction in runtime is now ~75% (instead of ~30%)! |
Added a potential fix for #156 |
This is really a neat and clever optimization @kmnip. Thanks for this. I also benchmarked it by simulating 1 million and 25 million reads using 38 threads on a same machine and the results demonstrates a reduction in wallclock runtime.
|
…ch those from reference transcriptome
check_print_progress
Simulated 500,000 reads using 4 threads on the same machine for 3 trials:
41m:42s16m:38s50m:47s16m:40s44m:53s16m:42sAbout ~75% reduction in wallclock runtime.