Hi,
I am using Ubuntu on Windows Subsystem for Linux. I download the program "Admixture" (for population structure analyses using NextRAD SNP data) in my Ubuntu home directory and access the admixture executable from this directory to run the analysis. I have also tried to access it from a conda environment after installing admixture using "conda install admixture".
I get this error message:
Segmentation fault (core dumped)
I have tried many different methods to prepare my data using different programs and methods: vcftools (vcf to ped and map) then using plink to create bed bim and fam or just straight vcf to bed bim and fam and don't believe my issue is to do with the format of my data.
If anyone has encountered this issue and has solved it, I would be eternally grateful as I have been dealing with this issue for a while now!
I have also emailed the developers and if I get a solution I will be happy to provide here.
Regards, Kat
A segmentation fault is often caused by a lack of memory. have a look at what the output of running the analysis with
time -v
in front is.UPDATE:
time
is a bash keyword. To get a version of time that supports the-v
switch, you'll need to use the one that is install as part of GNU. You can generally find this withwhich time
e.g.You want to look at
Maximum resident set size (kbytes)
i.sudbery is
time -v
specific for WSL? I tried it, because it could be useful for me, but it resulted in printing the time and the error:bash: -v: command not found
. What can the problem be?Sorry,
time
is also a bash keyword, as well as a GNU Util. On bash you need to specify the full path to the executable. So for example/usr/bin/time -v echo hello
I'll update my answer above.
Did this get resolved? I am running into the exact same issue and am out of ideas for solutions.
Hi, I am having the same problem. Did anybody solve the problem? Thank you Giulia
1) did anybody try to inspect the memory usage as suggested by i.sudbery? What was the result? 2) did anybody try to run the same command on a reduced dataset? What was the result? 3) Admixture comes with a toy dataset (http://software.genetics.ucla.edu/admixture/download.html). Did anybody try to use that? What was the outcome?
Without answer to at least some of these questions it is very hard to help.
I tried all of these steps, all resulted in the same error message. It is definitely not a memory issue, I have gotten the software to run via Virtual Box with Ubuntu, it appears to be a specifically WSL problem.
I am afraid I cannot help then, I know nothing about WSL.
Tried everything as well. I have now moved to doing this analysis on my Mac computer.
So i tried switching to my mac and I still get the exact same error. Am I missing something?
It is not a out of memory issue. Removing all non-numeric characters from the contig names in the vcf helped in my case.
A test that I usually perform is to run the command with a very small dataset and check if the problem persist. If it persists, then it might be some problem with data format.