This is a test version of Biostars. For the public version, visit https://www.biostars.org.
how to create new file

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

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

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'

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.

0 answers

No answers yet.

Log in to answer this question.