-
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
typo in plot_block() + Usage of HaploBlocker on small populations #2
Comments
You are indeed right. The parameter was falsely named oriantation and not orientation. I uploaded a new version that is fixing this issue (version 1.4.7). |
Thanks, I have a more general question: Happy to hear your suggestions. Cheers, |
Boundaries of haplotype blocks in HaploBlocker are not really reflective of recent recombinations. We are more or less tracking ancient recombinations and segments in the genome shared by groups of individuals - in case founder genotypes/haplotypes are available I would recommend to go for traditional pair-wise IBD based approaches. As designed HaploBlocker is tracking group-wise IBD and therefore block boundaries will not maximize block length for pairs of haplotypes. To set more of a focus on pairs, you should reduce node_min and edge_min to 2. Additional you should reduce min_majorblock heavily or set a target coverage to the share of the dataset you want to cover by blocks. To maximize block length you could additional set double_share to something below 1 - if computing time is of no issue I would suggest to go for 0.5-0.6 so blocks of 3 haplotypes can be further split up. In case both founder and F2 genotypes are available you could also consider splitting the dataset into two subgroups and requiring each block to contain at least 1 haplotype from both the founders and the F2. |
Thank you very much for your useful comments! |
I run into the error
sometimes when I adjust the parameters. Is it because the number of nodes are too low? How can I resolve this? Example:
Thank you again |
This error is caused by no blocks being in the haplotype library at some point of the algorithm. |
Hi,
I would like to report on a typo in the plot_block function for the option "orientation"
I just started to test out HaploBlocker, so I've been playing around with the parameters. Thanks for your work.
Cheers,
Jenny
The text was updated successfully, but these errors were encountered: