Open garrettjstevens opened 4 years ago
const VCFParser = new VCF({ header })
console.log(VCFParser.metadata.FILTER)
With the vcf-js parser
{ PASS: { Description: 'Passed all filters' },
q10: { Description: 'Quality below 10' },
s50: { Description: 'Less than 50% of samples have data' } }
Filter by VCF FILTER == "PASS", or by any other combination of detected filters. Remember VCF's FILTER can be an array of filter strings.