Thanks, this seems like the quickest method. I only worry because The Broad's documentation on generating tables from VCF files warns very sternly about not using a dedicated tool to parse out a VCF file
No, really, don't write your own parser if you can avoid it. This is not a comment on how smart or how competent we think you are -- it's a comment on how annoyingly obtuse and convoluted the VCF format is.
However, my VCF file seems valid and I dont see any weird outputs, so thanks again.
Isn't that pretty close to how a vcf file naturally looks?
That's a bit of an understatement. Good that you try to find an alternative!