PyVCF
PyVCF copied to clipboard
Adding a new FILTER in the VCF header
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!