Skip to content

Error: number of columns in the file are less than expected in vcf - there are valid vcf files with just 8 parameters #16

@a4xrbj1

Description

@a4xrbj1

Please see the attached file format of the Build 37 human genome reference file:

image link

It consists of the following parameters:

#CHROM
POS
ID
REF
ALT
QUAL
FILTER
INFO

This is a valid VCF file, downloaded from Download link

Line 76 in /lib/index.js should have the number 9 change 8 instead:

if (info.length < 9) {

Line 82 in /lib/index.js should also change the number 8 to 7:

var formatIds = info[7].split(':')

to avoid this error thrown. Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions