Closed alleneli closed 7 months ago
Hi @alleneli,
There seems to be some confusion here. You are trying to use STRUCTURE wrapped via Structure_threader with .bim
/ .bed
/ .fam
input files. STRUCTURE, however is not compatible with this format.
There are two ways you can solve the issue:
.bim
/ .bed
/ .fam
files to STR. You can do this via some external tool like PGDSpider.fastStructure
(which is compatible with .bim
/ .bed
/ .fam
files) wrapped under Structure_threader. For that you need to replace the switch -st /big-disk/home/eja56/.local/bin/structure
with -st /big-disk/home/eja56/.local/bin/fastStructure
. In this case, you can also drop the -R
switch since fastStructure
does not support replicates. Keep in mind that although these programs serve the same purpose, they work in different ways and their results are not always compatible.Hope this helps.
Francisco
Hi Francisco,
Ah, silly mistake! I need to be more careful about reading the doc's. Thank you for the clarification and prompt response. I've been struggling with installing fastStructure for the past week and a half, and ease of structure_threader's installation has been a breath of fresh air.
I'm just a master's student and I've spent the last semester learning how to do SNP variant calling on my own. After your advice I've finally been able to plot my data! Programs like your are immensely helpful to those of us who are still learning bioinformatics. I cannot thank you enough. I will be recommending your program to everyone and of course citing it and fastStructure.
Thank you for making my research possible, Eli
I am truly happy I could be of assistance. Enjoy your research!
Best, Francisco
Hi,
I have SNP data from a bwa-gatk-plink pipeline that is in the format of plink's .fam/.bin/.bed files. The generated logs are leading me to believe that either my plink files are not formatted correctly, or I am improperly calling them in the command line. I'm guessing (and hoping) the latter is true, as the logs change drastically based on whether I call the .bim, .bed, or .fam file. Any assistance is greatly appreciated!
Here is the code I am using:
The logs all look like this: