Question: strand information for SNPs from VCF file (convert into IMPUTE format)
1
gravatar for miaowzai
3.2 years ago by
miaowzai250
United States
miaowzai250 wrote:

I'm trying to do imputation by IMPUTE2 with a VCF file.

To generate the input files, I used plink: ./plink --vcf file.vcf --recode oxford --chr 1 --out output

Then I got four files: output.gen, output.sample, output.nosex and output.log

The basic IMPUTE2 requires inputs including output.gen, and also a strand file indicating the strand information of each SNPs in the output.gen file.

I'm not very familiar with the chip data and I'm not sure if I understood correctly, but I remember all SNPs in VCF files should be on the + strand. Does that mean all SNPs in the .gen file converted from vcf are strand +?

How can I get this strand file for my data?

Thanks!

strand plink impute format vcf • 1.8k views
ADD COMMENTlink modified 3.2 years ago • written 3.2 years ago by miaowzai250

Hi Miaowzai .. were you able to get an answer for this?

ADD REPLYlink written 2.5 years ago by sricham0
1
gravatar for miaowzai
2.5 years ago by
miaowzai250
United States
miaowzai250 wrote:

I found a tool to do this: https://github.com/biocore-ntnu/snpflip

ADD COMMENTlink written 2.5 years ago by miaowzai250
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: 1584 users visited in the last hour