PLINK 1.07, Windows
• 0 views
•
link
I applied a linear regression in PLINK and I got almost 30 output files of the type .assoc.linear. I need to merge these files into one file and then convert that file into a csv.
Does anyone know how I can do that?
Thanks
PLINK 1.07 or 1.90?
Windows or Linux?
Linux
Remove the headline from your output files, except one (sed '1d' File1.assoc.linear > File1.assoc.linear-NEW) and then use the cat command line (cat *.assoc.linear-New > File-All.txt).
PLINK 1.07 to CSV (space delimited) - Linux
tr -s ' ' <File-All.txt> File-All-Temp1.txt
cut -d ' ' -f 2- File-All-Temp1.txt > File-All.csv #csv delimited by space
PLINK 1.07, Windows
Log in to answer this question.