PyVCF icon indicating copy to clipboard operation
PyVCF copied to clipboard

Adding a new FILTER in the VCF header

Open saty89 opened this issue 5 years ago • 0 comments

Hi, is there a way to add a new FILTER ID to the header. I tried to add it as like key=value pair for dictionary but doesn't seem to work. For example - inputvcf_reader.filters['Test']="Filter(id='Test', desc='Add a new ID')"

Seems like not recognizing due to quotes but not sure as I get the following in the output vcf

##FILTER=<ID=F,Description="i">

Any help is appreciated. Thanks!

saty89 avatar May 24 '19 07:05 saty89