Tool:New VCF Header (schema) Parser---Please Break!!!
1
0
Entering edit mode
2.1 years ago
ariel ▴ 250

I wrote this parser because I couldn't find another utility that did exactly what I want, which is to parse the header and return the schema and metadata in JSON format. In particular, I need a JSON format schema to use when uploading a VCF as a table to BigQuery.

https://github.com/abalter/vcf_header_parser

Currently, the tool does both and includes many options. One To Do item is to facilitate other cloud platforms and database types.

Please stress test!

VCF header • 600 views
ADD COMMENT
1
Entering edit mode
2.1 years ago
d-cameron ★ 2.9k

There is now an 'official' VCF test suite. It covers the basics but there are many edge cases (e.g. correct handling of UTF-8 and what to do when the VCF contains invalid UTF-8 encoding) yet to be added to the test suite. You can find it at:

https://github.com/samtools/hts-specs/tree/master/test/vcf

ADD COMMENT

Login before adding your answer.

Traffic: 1985 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6