I have compiled these sets of commands which do the needful. It would
be great if someone can suggest something with perl or python. As I am
> Hi Group,
> I have QTDT association analysis output for around 900,000 SNP's which
> look like this:
> QTDT - Quantitative TDT 2.6.1
> (c) 1998-2007 Goncalo Abecasis (gonc...@umich.edu)
> This program implements tests described by
> Abecasis et al, Am J Hum Genet 66:279-292 (2000)
> Abecasis et al, Eur J Hum Genet 8:545-551 (2000)
> and others
> The following parameters are in effect:
> QTDT Data File : qtdt_coga3587_chr22.dat (-dname)
> QTDT Pedigree File : qtdt_coga3587_chr22.ped (-pname)
> QTDT IBD Status File : qtdt.ibd (-iname)
> Missing Value Code : X (-xname)
> Covariates : USER SPECIFIED (-c{p|s|u|-})
> Association Model : TOTAL (-a[a|d|f|m|o|p|r|t|
> w|-])
> Full Model Variances : NOT MODELLED (-v{e|c|g|n|t|a|d|-})
> Null Model Variances : NON SHARED (-w{e|c|g|n|t|a|d|-})
> & POLYGENIC
> Parent of Origin Effects : PATERNAL TEST (-o[f|t|m|p|-])
> Monte-Carlo Permutations : 0 (-m9999)
> Random Seed : 123456 (-r9999)
> Numeric Minimizer : NELDER AND MEAD (-n[f|n|p])
> Transmission Scoring : NONE (-t[n|p])
> Additional Options
> --dominance, --snp [ON], --multi-allelic, --deviates, --references,
> --exclude-founder-phenotypes, --p-values [ON], --no-regress-tbl [ON]
> Online documentationhttp://www.sph.umich.edu/csg/abecasis/QTDT
> Comments, bugs: gonc...@umich.edu
> Online documentationhttp://www.sph.umich.edu/csg/abecasis/QTDT
> Comments, bugs: gonc...@umich.edu
> The following models will be evaluated...
> NULL MODEL
> Means = Mu + sex + Age_at_Interview + age_square
> Variances = Ve + Vg
> FULL MODEL
> Means = Mu + sex + Age_at_Interview + age_square + Xpat
> Variances = Ve + Vg
> Testing trait: loge_max
> =============================================
> Testing marker: rs1004236
> ---------------------------------------------
> Allele df(0) -LnLk(0) df(X) -LnLk(X) ChiSq p
> G 1121 1274.53 1120 1274.53 0.00 0.9514 (1127
> probands)
> Testing marker: rs1062731
> ---------------------------------------------
> Allele df(0) -LnLk(0) df(X) -LnLk(X) ChiSq p
> G 1090 1231.86 1089 1231.77 0.17 0.6826 (1096
> probands)
> Testing marker: rs11090516
> ---------------------------------------------
> Allele df(0) -LnLk(0) df(X) -LnLk(X) ChiSq p
> C 1087 1230.05 1086 1230.03 0.04 0.8322 (1093
> probands)
> And so on for each SNP. I want to change this output in tabular form
> which may look like this
> SNP Allele df(0) -LnLk(0) df(X) -LnLk(X) ChiSq p n
> rs1004236 G 1121 1274.53 1120 1274.53 0.00 0.9514 1127
> rs1062731 G 1090 1231.86 1089 1231.77 0.17 0.6826 1096
> It would be great if someone can help me with script.
> Thanks,
> Manav