This is a test version of Biostars. For the public version, visit https://www.biostars.org.
.str to .bed /.bim/.fam file conversion

Please suggest how can I convert .str file to .bed/.bim/.fam

structure

Could you please elaborate what is .str format and show some top lines?

.str is the structure file format..

    SNP_20  SNP_26  SNP_29  SNP_30  SNP_34
A1  1   1   1   1   1
A1  1   1   1   1   1
A2  1   0   1   1   1
A2  1   0   1   1   1
A3  1   0   0   1   0
A3  1   0   1   1   1
A4  1   0   1   1   1
A4  1   1   1   -9  1

I am curious to know how do you generated a file with .str format. Do you know the position of SNP you mentioned (if SNP = Single nucleotide polymorphism, not something else). What is A1,A2..... represents? Samples? If that is the case you can use coordinates of SNP to get bed files.

But before that you need to explain better what did you showed here in .str files.

0 answers

No answers yet.

Log in to answer this question.