-
Notifications
You must be signed in to change notification settings - Fork 2
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
nb-cores tuning different total row numbers #17
Comments
It might be more informative to check exactly which sequences differ between the two rather than just the counts. But I am not sure I'm afraid, but perhaps sticking to one core might be safest in that case. |
Thanks for your prompt reply! So I looked a bit more into it and I realise what I posted before isn’t quite right; sorry about this. So I decided to give a bit more context. I executed 4 runs of unitig-counter (I encounter the same issue when using unitig-caller instead) with —nb-cores 1,2,3 & 4, respectively. #total unique unitigs For example, between the run with 1 thread and the run with 2 threads, 311607 unitigs were common in both runs anti_join(thread1,thread2) %>% dim
I didn't go on to assess how "different" these unitigs were yet, as you alluded to in your previous post. When inputting unitigs from these different runs into pyseer for a population structure wc -l count_unitigs_threads_*/significant_unitigs.txt This is a bit concerning given, for example, only 6 significant unitigs of the 52 If you have any insight into why this might be happening, I'd appreciate it. I initially ran unitig counting on 2 cores, so in the meantime will see if the annotation hits are similar if I switch to using 1-core. |
I also had this issue, where different This is very anecdotal, but in testing, I noticed that an even number of cores tends to output reverse complements, ( I haven't noticed a difference yet in |
Dear John,
I’m using unitig-counter/1.1.0 and then feeding the output into pyseer for LMM-based association analyses. However,
I’ve noticed I get different number of significant unitigs when using different values for —nb-cores when running unitig-counter. I then noticed the number of lines in the output of the unitigs file differs in row number (e.g. when using —nb-cores 1 vs 4). Is this occurrence reproducible on your end? If so, is the issue due to parralelization? Is it safest to stick to —nb-cores 1?
Thanks in advance,
Sara
The text was updated successfully, but these errors were encountered: