Output delimited file in ld results PLINK
0
0
Entering edit mode
10.2 years ago

Hi,

I would like to know if it is possible to output .ld results as a delimited text file rather than the space delimited file that is produced as default.

I have around 13k snp's which I have ld results on (around 88 million rows) and I want to import the file back into sql. There are ways of doing this by creating a formatted file and bulk inserting that, but I wondered if it would be possible to change the output format of the results file in PLINK as this would make the bulk insert into sql simpler.

My current code is:

plink --noweb --bfile myfile --cow --missing-genotype - --ld-window-r2 0

Any advice would be great

Neil

PLINK snp • 3.1k views
ADD COMMENT
0
Entering edit mode

There doesn't appear to be a way to do this from PLINK but I found this, which was very helpful.

http://www.gettinggeneticsdone.com/2010/08/convert-plink-output-to-tab-or-comma.html

Neil

ADD REPLY

Login before adding your answer.

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