Question: Loading IMPUTE2 dosage data into plink/seq
0
gravatar for potassiumiodide0990
4.3 years ago by
United States
potassiumiodide099080 wrote:

Hi!

I'm trying to load the dosage data from IMPUTE2.

It keeps giving me this error 

pseq error : invalid dosage line entry, wrong number of rows

I even tried to work with the mydata.dat example given on this site https://atgu.mgh.harvard.edu/plinkseq/dosage.shtml 

But then it gives me the same error 

pseq error : invalid dosage line entry, wrong number of rows (expecting 10 but found 1 ):

rs001  chr1  1000  A  C   0.1  1.2  0.0  1.6  2.0

 

Kindly help.

Thanks in advance.

impute2 plink/seq dosage • 1.4k views
ADD COMMENTlink modified 4.1 years ago by Vincent Laufer1.1k • written 4.3 years ago by potassiumiodide099080
0
gravatar for Vincent Laufer
4.1 years ago by
Vincent Laufer1.1k
United States
Vincent Laufer1.1k wrote:

Is the file space-delimited? did you try running the command on a tab-delimited file?

 

awk '{gsub(/ /,"\t"); print $0}' myfilename.txt > myfilename.tsv

 

ADD COMMENTlink written 4.1 years ago by Vincent Laufer1.1k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1972 users visited in the last hour