inquiry related to rsid
1
0
Entering edit mode
2.8 years ago
rheab1230 ▴ 140

Hello everyone,

I have .vcf files. I have remove indels and now have only SNP. I want to update id column in .vcf file with that of rsid in dbSNP since predixcan software require .vcf files to have rsid.

Is there any software which can update the information.

I am using dbSNP142.

TWAS vcf rsid predixcan • 740 views
ADD COMMENT
0
Entering edit mode
2.8 years ago

you can do that with vcfanno, and a TOML configuration file like the one below:

[[annotation]]
file="dbsnp.vcf.gz"
fields = ["ID"]
ops=["self"]
names=["rsid"]

[[postannotation]]
name="ID"
fields=["rsid"]
op="setid"
type="String"
ADD COMMENT
0
Entering edit mode

okay, I will do that. Thank You

ADD REPLY

Login before adding your answer.

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