Groups
Groups
Sign in
Groups
Groups
vcfanno
Conversations
About
Send feedback
Help
Change ID of input vcf for ID of another vcf
26 views
Skip to first unread message
Joel Lafond Lapalme
unread,
Apr 11, 2017, 1:39:37 PM
4/11/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to vcfanno
Hi,
Is it possible with vcfanno to change the ID of the input vcf for the ID from another vcf like dbsnp ?
Thank you
Joël
Brent Pedersen
unread,
Apr 11, 2017, 2:10:01 PM
4/11/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to vcfanno
Yes, see this block of annotation:
https://github.com/brentp/vcfanno#postannotation
and there is also an example in the gnomad example:
https://github.com/brentp/vcfanno/blob/master/example/gnomad.conf#L102
note that you annotate the INFO using "ID" first and then you set the ID in a [[postannotation]] block. You can also use the setid() lua function here:
https://github.com/brentp/vcfanno/blob/master/example/custom.lua#L128
I plan to make this so you don't need lua, but for now, this works.
let me know if you have any questions.
-Brent
Reply all
Reply to author
Forward
0 new messages