Question: Conversion Of Ped/Map Or Bim/Bim/ Fam Files To Dosage For Gwas Mit Probable And Comparison With Imputated Genotypes
gravatar for mathias.gorski
7.5 years ago by
mathias.gorski20 wrote:

Hi all,

the title says it all: I have plink compatible ped/map (bim/bam/fam) data and want to compare this genotype data with imputed data and I also want to do linear and logistic regression analysis with ProABEL (for beeing compatible with former analysis it must unfortunatly be ProbABEL). For doing this I want to convert my ped/map files to dosage (.dose) format, but havent found a tool, that can do this automatically. Scripting it by hand will cost me days. Do you know of any tool, that can convert from ped to dose?

btw, I know, that the dosages, that will be outputted can only be concrete numbers 0,1,2, thats ok. Furthermore I know f. e. gtool (, but it converts to file format compatible with Impute and SNPtest only.

Thank you all in advance, any hint is helpful :) Best, Matthew

ADD COMMENTlink modified 7.5 years ago by zx87549.6k • written 7.5 years ago by mathias.gorski20
gravatar for zx8754
7.5 years ago by
zx87549.6k wrote:

Use GTOOL to convert PEDMAP to GEN format:

gtool -P --ped example/example.ped --map example/ --og example/out.gen --os example/out.sample

Then use GenABEL to convert GEN format to MACH format:

impute2mach(genofile, infofile, samplefile, machbasename, maketextdosefile = TRUE, ...)
ADD COMMENTlink written 7.5 years ago by zx87549.6k

Hello, I'm trying to do the same thing as Mathias. But when I run gtool, I get only a samplefile and genofile out. I can't find on google what the infofile should look like. Do you know that the infofile should look like? Thanks!

ADD REPLYlink written 7.1 years ago by ellens210


ADD REPLYlink written 7.1 years ago by zx87549.6k
Please log in to add an answer.


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