-
Notifications
You must be signed in to change notification settings - Fork 36
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
[error] SIGSEGV: Illegal storage access. (Attempt to read from nil?) Segmentation fault (core dumped) ( #131
Comments
Hi, can you run the same command with the binary attached here (after gunzip somalier_dbg.gz && chmod +x somalier_dbg) and show the output? |
Hi,
|
It seems that the training matrix (1kg) is empty so either the sites don't match or you don't have samples in that directory. What does:
show? |
I feel a bit dumb... There is another folder inside 1kg.somalier. I have fixed the command. However it still gives an error:
|
Hmm. that's a problem that we're not getting any information beynd the segfault now. |
We have tested it in two different computers with the same error :( |
Yes, I expect that it will be the same on any machine. How many samples are you looking at? The ancestry stuff is, as you're finding, less used and more prone to problems than the rest of somalier. You might also try |
I am looking at 24 samples:
I have tried the debug binary version2 but I get no more information than with the previous one:
About the python script I get a strange error:
Thanks again for your assistance Brent! |
Looks like
to:
I think that should work, but haven't tested it. |
You can also change other things in the script. For example, line 92 you can change If you make all of these changes and get something that looks good, I'd be happy to get a PR that incorporates the changes. |
With these changes it looks like it works. I have tried modifying the components to 3 and for the test run and visually speaking it looks better at assigning populations. Do you know if there is a background dataset with more population granularity? It will be quite interesting to know the population of origin for certain patients and continental is a hint but still very general. We usually have exomes and panels of genes, so most intergenic SNPs are not captured. |
Thousand genomes has finer subpopulations, but then you have so few training samples that it's not as reliable. There may be other resources for this, but I haven't kept up with them. |
glad to hear it's working. |
Hi,
I am getting an error in the last step of ancestry calling, after succesfully generating all the .somalier query files and downloading the relevant ancestry-labels-1kg.tsv file and 1kg.somalier/.somalier files.
Here is the code that we have tested in two different machines with the same error
The text was updated successfully, but these errors were encountered: