UNPKG

@gmod/vcf

Version:

High performance streaming Variant Call Format (VCF) parser in pure JavaScript

5 lines (4 loc) 298 B
export type MetaField = Record<string, string | string[] | number | null | undefined>; export type MetaMap = Record<string, MetaField>; export type InfoValue = true | (string | number | undefined)[]; export declare function parseInfo(infoStr: string, infoMeta: MetaMap): Record<string, InfoValue>;