Question: Generating .ped and .map files from .dose.vcf.gz files
1
gravatar for Diego.Morales
2.8 years ago by
Diego.Morales10 wrote:

Hi Everyone,

I am now trying to generate .ped and .map files from a .dose.vcf.gz file that I have gotten from Michigan's Imputation Server. I've tried the following command:

vcftools --gzvcf chr21.dose.vcf.gz --plink --out chr21.dose

but all I get is the following:

VCFtools - v0.1.13
(C) Adam Auton and Anthony Marcketta 2009

Parameters as interpreted:
        --gzvcf chr21.dose.vcf.gz
        --out chr21.dose
        --plink

Using zlib version: 1.2.3
Versions of zlib >= 1.2.4 will be *much* faster when reading zipped VCF files.
After filtering, kept 2441 out of 2441 Individuals
Writing PLINK PED and MAP files ...
**Error:  Could not open temporary file.**

Can anyone please help me figure out how to generate these files?

PS: the chr21.dose.vcf.gz file also comes with the following files:

  • chr21.dose.vcf.gz.tbi
  • chr21.info.gz
imputation open gwas • 3.1k views
ADD COMMENTlink modified 3 months ago by RamRS19k • written 2.8 years ago by Diego.Morales10
0
gravatar for Veera
2.8 years ago by
Veera 90
Denmark
Veera 90 wrote:

I am not sure if your file is in dosage format or vcf format ! Assuming that you have a vcf file, you can straight away read with plink2 using --vcf argument and recode it ped and map files. If what you have is a dosage file, you convert it to plink format using gtool

ADD COMMENTlink modified 3 months ago by RamRS19k • written 2.8 years ago by Veera 90
1

Then you can read it through plink2

ADD REPLYlink written 2.8 years ago by Veera 90

It looks like a VCF file

ADD REPLYlink modified 3 months ago by RamRS19k • written 2.8 years ago by Diego.Morales10
0
gravatar for m.acostaherrera
2.5 years ago by
m.acostaherrera0 wrote:

I had exactly the same question and just run into the DosageConvertor to convert dosage files (in VCF format) from Minimac3 to MaCH or PLINK. I haven't tried it yet but I will soon..

Good luck!

ADD COMMENTlink modified 3 months ago by RamRS19k • written 2.5 years ago by m.acostaherrera0
Please log in to add an answer.

Help
Access

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