fcGENE conversion error: Plink dosage to bed/bim/fam
3
0
Entering edit mode
8.3 years ago
aldoc ▴ 10

Hi,

There are some PLINK dosage files (format=1) that I need to convert to bed/bim/fam (using best guesses of genotypes). Namely, the .dose files I have are like:

SNP    A1    A2    F1 I1    F2 I2    ...
rsXXX    A    T    1.692    1.699    ...
...

If I understand well (http://www.bx.psu.edu/~giardine/tests/tmp/fcgene-1.0.7.pdf, p.10), I could re-format them by using:

./fcgene --dosage file.dose --fam file.fam --map file.map --oformat plink-bed

However, I get this error:

ERROR: First line of plink dosage format file "file.dose" should start with the word "SNP", the second column with the word "A1" and the third column with the word "A2".

I have tried changing tabs for single spaces in "file.dose", but still I get the same message. Do you know how to fix it?

Thanks in advance,

plink fcGENE dosage • 4.3k views
ADD COMMENT
0
Entering edit mode

I have exactly the same problem. Any clues about the solution?

ADD REPLY
0
Entering edit mode

Same problem, even with the example files provided in v1.0.6 EROOR: First line of plink dosage format file "work_examples/plink/plink_dosage.dose" should start with the word "SNP", the second column with the word "A1" and the thrid column with the word "A2"

ADD REPLY
0
Entering edit mode
6.8 years ago
Teresa ▴ 20

I have the same problem. Have you solved it?

ADD COMMENT
0
Entering edit mode
6.8 years ago
Wietje ▴ 240

How did you compile your dosage file? Did you enter the data or the header manually? Could it be that you have "hidden" symbols or characters in there so that PLINK cannot read the first line correctly?

ADD COMMENT
0
Entering edit mode
6.4 years ago
bg1116 • 0

Has anyone figured out the answer to this problem? I am having the same issue.

Thanks

ADD COMMENT
1
Entering edit mode

Just use plink 2.0 —import-dosage + —make-bed.

ADD REPLY

Login before adding your answer.

Traffic: 1415 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