recode bed file into raw data, but the genotype count does not follow the base data
0
0
Entering edit mode
2.2 years ago
Phylicia ▴ 10

Hi, I use this code to recode bed file into raw data in ubuntu. I refer to the codes about Plink here

plink\
--bfile bedfile_name\
--recode A\
--recode-allele base_data.txt\
--out  output.txt

enter image description here

It says the "recode-allele" code should follow base_data.txt. The first column should be variant ID and the second column should be allele ID. I have tried column-name-free or not of base_data.txt.

But the results I got is different from my expectation. The bed file has been recoded successfully, but the effect allele does not follow the rule of the effect allele (the second column) defined in the base_data.txt.

Here is the example. The effect allele is C, but the effect allele of this allele in the output file is T. enter image description here

What could I do? Thank you very much and look forward to your kind help.

genotype ubuntu bed plink • 574 views
ADD COMMENT
0
Entering edit mode

Pro tip, rather than using all these irrelavant tags just use tag plink so the developer who is active here can easily spot it and help out (or others familiar with plink). You can use edit to change that.

ADD REPLY
0
Entering edit mode

Thank you very much!

ADD REPLY

Login before adding your answer.

Traffic: 2446 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6