Assign RSID to ID . / blank column in vcf file
0
0
Entering edit mode
2.9 years ago
Nai ▴ 50

I have vcf file which ID column has input: "." output: chr1:82154 or rs4477212. I am doing using bcftools with the command:

bcftools annotate -a All_SNP.vcf.gz -c ID -o File.vcf.gz input.vcf.gz

Because All_SNP.vcf.gz has chr information as numeric while input.vcf has chr1.

I tried with snpsift tool which is not doing in correct manner, generated file lost some columns.

ID VCF • 656 views
ADD COMMENT
0
Entering edit mode

has chr information as numeric while input.vcf has chr1.

VCF files: Change Chromosome Notation ; Rename Chromosome position/Notation in VCF file ; ....

ADD REPLY

Login before adding your answer.

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