strand information for SNPs from VCF file (convert into IMPUTE format)
1
1
Entering edit mode
7.4 years ago
miaowzai ▴ 390

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!

VCF impute plink format strand • 3.7k views
ADD COMMENT
0
Entering edit mode

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

ADD REPLY
1
Entering edit mode
6.7 years ago
miaowzai ▴ 390

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

ADD COMMENT

Login before adding your answer.

Traffic: 1719 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