inquiry related to rsid
1
0
Entering edit mode
9 weeks ago
rheab1230 ▴ 20

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.

rsid TWAS file vcf predixcan • 203 views
ADD COMMENT
0
Entering edit mode
9 weeks 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: 1635 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