Skip to content

Parse a VCF file into a data structure #9

@figueroakl

Description

@figueroakl

Description

As a developer, I'd like to know what the user's VCF file version is to get us started on what parsing a VCF file into a data structure entails.
The VCF version can be found within the VCF headers. The headers are the first lines of the file and they start with "##".

One thing to think about is that reading the heders and variant records (or rows) into 2 different structures. Both them can be streaming parsers meaning that they do not read the whole file into memory.

This component is responsible for reading a VCF file, which contains genetic variation data, and converting it into a data structure that can be used by the tool. For invetigation or inspiration we can look to tools like rust-htslib or rust-vcf to help with this.

This story leads to 2 other stories, linked below:
#14 - headers data structure
#15 - variant records data structure

Acceptance criteria

Tasks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions