Skip to content

Segfault on empty VCF file in multiallelic filter #50

@jonasfreimuth

Description

@jonasfreimuth

During some testing in a data analysis pipeline using vafator, I noticed that this tools segfaults when you give it an empty VCF file (i.e., one without any variants but with a metadata header).

The segfault prevents any user from finding out the root cause of the issue, therefore to address this vafator should either raise a proper Exception or error on an empty vcf file or handle the file appropriatly (i.e., write output files not containing anything, possibly with a warning).

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