brentp / slivar

genetic variant expressions, annotation, and filtering for great good.
MIT License
249 stars 23 forks source link

slivar TSV: extract ID field #105

Closed puva closed 3 years ago

puva commented 3 years ago

Hi, is there a way to extract the ID field (e.g. dbSNP rs) from a VCF with slivar tsv?

Thanks, Paolo

brentp commented 3 years ago

That's a good question. I just added a change for this. So in next release (coming in the next week), you'll be able to use:

slivar tsv -i QUAL

and it will report the variant QUAL field.

brentp commented 3 years ago

... and since you want the ID it's useful to know you can do -i DP

puva commented 3 years ago

Wow! Thanks.