Annotate with other field than 'INFO'

31 views
Skip to first unread message

Joel Lafond Lapalme

unread,
Mar 16, 2017, 10:26:51 AM3/16/17
to vcfanno
Hi Bret, 

Can vcfanno annotate vcf fields other than fields that are in 'INFO' ?
Like if I have a database vcf with a field called 'XYZ_id' that I want to add to my vcf.

Thank you
Joël

Joel Lafond Lapalme

unread,
Mar 16, 2017, 10:28:10 AM3/16/17
to vcfanno
Sorry Brent ** I misspelled your name!

Brent Pedersen

unread,
Mar 16, 2017, 10:50:22 AM3/16/17
to Joel Lafond Lapalme, vcfanno
Hi,
vcfanno can use BED, BAM, VCF to annotate; so if you can get your data
into one of those formats then you should be able to annotate easily.
If you wanted to support pulling from a database, you'd have to write
a fair bit of custom golang.
if you can describe in more detail what you are trying to do then
perhaps I can help more.
-Brent
> --
> You received this message because you are subscribed to the Google Groups
> "vcfanno" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to vcfanno+u...@googlegroups.com.
> To post to this group, send email to vcf...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/vcfanno/54f84a9f-26ee-42ae-bf7d-c04fe5934453%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.

Brent Pedersen

unread,
Mar 16, 2017, 11:09:27 AM3/16/17
to Joel Lafond Lapalme, vcfanno
Oh, I see.
Yes. You'll use fields=["ID"] to grab the ID field from the annotation
file. Currently, you can only set an entry in the INFO of the query
file with that.

In the pending release, you'll be able to set the ID of the query file
with the ID from the annotation file. That release will be out this
week or early next.


On Thu, Mar 16, 2017 at 9:01 AM, Joel Lafond Lapalme
<joel.lafo...@gmail.com> wrote:
> Sorry I was not clear. My 'database' is a vcf. I want to add the 'ID' field
> of that database vcf to another vcf as a custom field like XYZ_ID.
>
> Joël
Reply all
Reply to author
Forward
0 new messages