-
Notifications
You must be signed in to change notification settings - Fork 38
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
Relatedness color pattern issue in plot #126
Comments
The infer method has some limitations. You might try running infer again with the pedigree file generated the first time. Can you also show here the rows for sample1-4 in the samples.tsv file? |
Thanks for your quick answer! These are the samples.tsv: We've tried running again the infer --ped with the samples.tsv, but the results are the same. When you talk about limitations, do you mean limitations related to how the relatedness is calculated or while plotting the results? |
What is sample1 repeated in your samples.tsv? I mean there are limitations in how the inference is done. Especially with lower quality samples. |
Sorry, that was my mistake! I haven't used twice sample1, it's a copy/paste error. I've modified the original message. In my case, I agree with the relatedness score it calculates, but I don't understand why sometimes is colored as related in the plot, and some times it isn't, being the relatedness score almost the same one. Thanks for looking into this! |
If the number of samples is manageable, you can edit the samples file to update the family id and parents where it's obvious to you what's going on. |
Hello! |
Hello!
I'm having some issues understanding how the relatedness is represented in the html plots.
For instance, this pair is colored as related in the html:
sample1 sample2 0.417 0 8368 0.688 4580 4767 7669 1597 5659 5584 3837 12842 115 237 0.5
Whereas this one is marked as unrelated:
sample3 sample4 0.409 0 8367 0.685 4596 4784 7706 1575 5623 5654 3850 12922 126 210 -1.0
Why in the first example the expected_relatedness is 0.5 (as expected), but -1 in the second one? The relatedness value is almost the same, and I can't find any major differences. I'm having this issue with many examples.
We are running Somalier with these commands:
somalier extract -d extracted/ --sites sites.hg38.vcf.gz -f GRCh38_full_1000genomes.fa $BAM
somalier relate --infer extracted/.somalier
somalier relate --ped somalier.samples.tsv extracted/.somalier
Please, could you clarify why this happens?
Let me know if you need further information. Thank you very much!!
Mireia
The text was updated successfully, but these errors were encountered: