how to create new file
0
1
Entering edit mode
7.4 years ago
forever ▴ 80

Hi, I have the below large data:

100 100 rs2236941 A A

100 100 rs2236985 G G

100 100 rs2237142 C C

100 100 rs2237162 A G

100 100 rs2237175 A G

I need to create new line like

100 100 0 0 -9  A A G G C C A G A G

I appreciate any help? Regards

r • 1.4k views
ADD COMMENT
5
Entering edit mode

You're going to need to provide rather more details (e.g., WTF is the -9?). Also, what have you tried?

ADD REPLY
2
Entering edit mode

This lgen file format:

100 100 rs2236941 A A

100 100 rs2236985 G G

100 100 rs2237142 C C

100 100 rs2237162 A G

100 100 rs2237175 A G

and this is ped file format:

100 100 0 0 -9 A A G G C C A G A G

I try to use plink --lfile Plate3_final_report --recode

But I got error:

Duplicate ID '100 100'
ADD REPLY
2
Entering edit mode

You still didn't explain what -9 is, probably unknown phenotype. In addition, the error message is quite clear. You cannot have duplicate IDs for a sample.

ADD REPLY

Login before adding your answer.

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