Skip to content
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 set the number of threads? #40

Closed
seoanezonjic opened this issue Apr 2, 2017 · 2 comments
Closed

How set the number of threads? #40

seoanezonjic opened this issue Apr 2, 2017 · 2 comments

Comments

@seoanezonjic
Copy link

seoanezonjic commented Apr 2, 2017

I'm using the last release of hapliclique and I had seen that use pthreads. How can I set more than one thread to do the analysis?
Thanks
Pedro

@brnrdlang
Copy link
Contributor

The old version of Haploclique did parallelization by simply partitioning the reads in several datasets, and then running haploclique with GNU parallel on every dataset. This meant that edges between reads in different partitions were not considered for the first iteration of clique enumeration, leading to some loss of information.
After rewriting the original bash script handling the iterations directly into the C++ code, the parallelization part of the script didn't make it into the new version.

@armintoepfer
Copy link
Collaborator

armintoepfer commented Apr 3, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants