How to generate a .raw file from vcf in plink
0
0
Entering edit mode
5 days ago
antmantras ▴ 20

Hi all.

I am trying to convert my vcf file to a readable format in R using plink. Specifically, I want a .raw file to follow up the workflow of a recent paper.

I have tried:

plink --vcf myfile.vcf.gz --export A --out ofile --allow-extra-chr 

but the SNP headers look like ".G" instead of "SNP1_1515.G". What is wrong here?

Many thanks.

Edit: I know I can get the desired output using the .bim file, but was wondering about approximation in plink with one command.

plink vcf • 81 views
ADD COMMENT

Login before adding your answer.

Traffic: 1735 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6