Yves-CHEN / DENTIST

DENTIST (Detecting Errors iN analyses of summary staTISTics) is a QC tool for summary-data-based analyses.
GNU Lesser General Public License v3.0
21 stars 6 forks source link

Modifying summary statistics to a .gcta.cojo format #12

Closed mkoromina closed 2 years ago

mkoromina commented 2 years ago

Hi,

This may be a simple question, but I decided to ask it nonetheless: Could you please advise us on what is the optimum way of creating stats in a .gcta.cojo format? For example, would extracting certain columns (SNP, PVAL, A1, A2, BETA, SE, N etc) from the summary stats be efficient enough or are further modifications to them required?

Thanks, Maria

Yves-CHEN commented 2 years ago

Yes. You can try awk, e.g.

awk '{print $1,$2}'

This will output the 1st and 2nd columns. In the same way, you can then output the columns which correspond to (SNP, PVAL, A1, A2, BETA, SE, N )

mkoromina commented 2 years ago

Many thanks! Closing this issue as this works well!