brentp / vcfanno

annotate a VCF with other VCFs/BEDs/tabixed files
https://genomebiology.biomedcentral.com/articles/10.1186/s13059-016-0973-5
MIT License
365 stars 56 forks source link

lua function on samples #29

Closed dwaggott closed 8 years ago

dwaggott commented 8 years ago

Do you have any examples on how to call sample GT or PL format tags using a custom lua function? I'm looking for a way to annotation variants that are consistent with affection from a ped file. A binary flag or a super basic LOD score equivalent based on the genotype likelihoods is the plan.

brentp commented 8 years ago

This isn't possible right now, but not out of the question. It was raised in #15 . I'll give it some more thought but it won't be soon.

dwaggott commented 8 years ago

Thanks!