## Things to handle:
# The variants are not sorted
# There are comment lines with # or ## or ###
# In the middle of the data there are also some comment lines
## There are duplicate sites
### Lines have different numbers of columns
# There are some dangling INFO fields
## There are empty lines that should be ignored
## There are indels to be ignored (errored)
## There is no VCF-like 'chrom pos ref...' header is missing, but thats fine
# every line with at least "1	5924535		G	C" should be processed correctly!
# ignore the bad variants, also ignore all INFO including CADD scores annotations (these are not standardized inputs)
1	5924535	.	G	C	.	.	CADD=6.558663;CADD_SCALED=31.0;MVL=CLINVAR;CLSF=P;ANN=C|frameshift_variant|HIGH|DVL1|DVL1|transcript|NM_004421.2|protein_coding|14/15|c.1615delA|p.Ser539fs|1662/2924|1615/2013|539/670||;LOF=(DVL1|DVL1|1|1.00);	GT	0/1
1	5924535	.	G	C	.	.	CADD=6.91172;CADD_SCALED=33.0;MVL=CLINVAR;CLSF=P;ANN=T|frameshift_variant|HIGH|DVL1|DVL1|transcript|NM_004421.2|protein_coding|14/15|c.1562delC|p.Pro521fs|1609/2924|1562/2013|521/670||;LOF=(DVL1|DVL1|1|1.00);	GT	
1	5924535	.	G	C	.	.	CADD=6.145328;CADD_SCALED=28.4;MVL=CLINVAR;CLSF=P;ANN=A|frameshift_variant|HIGH|DVL1|DVL1|transcript|NM_004421.2|protein_coding|14/15|c.1529delG|p.Gly510fs|1576/2924|1529/2013|510/670||;LOF=(DVL1|DVL1|1|1.00);	
1	5924535	.	G	C	.	.	CADD=6.909556;CADD_SCALED=33.0;MVL=CLINVAR;CLSF=P;ANN=C|frameshift_variant|HIGH|DVL1|DVL1|transcript|NM_004421.2|protein_coding|14/15|c.1519delT|p.Trp507fs|1566/2924|1519/2013|507/670||;LOF=(DVL1|DVL1|1|1.00);
1	5924535	.	G	C	.	.	CADD=8.032346;CADD_SCALED=35.0;
1	5924535	.	G	C	.	.	
1	5924535	.	G	C	.	.
1	5924535	.	G	C	.	
1	5924535	.	G	C	.
1	5924535	.	G	C	
1	5924535		G	C	
1	5924535	.	G	C
1	5924535		G	C
1	5924535	.	G	
1	5924535	.	G
1	5924535	.	
1	5924535	.
1	5924535	
1	5924535
1	
1
# ignore next empty line (and this comment line)

1	11855213	 	G	A
1	11856291		G	A
1	11856363	~	G	A
1	11856291		G	
1	11856291			A
# indels, ignore
1	1273380	.	CT	C	.	.	ANN=C|frameshift_variant|HIGH|DVL1|DVL1|
1	1273380	.	CT	C
# general bad variants:
25	5924535	.	G	C
1	abcdef	.	G	C
1	5924535	.	G	C
1	5924535	.	Q	C
1	5924535	.	G	X
1	5924535	.	Y	Y
1			G	C
1	 		G	C
1		 	G	C
1	G	C	5924535
	5924535	 	G	C
	1	5924535	.	G	C
1 5924535 .	G	C
1	5924535	.	GC
1 5924535 . G C
a	b	.	G	C
~	@	#	^	&
# some variants from cadd output, does not match 5-column layout, but detect where 6 and do what is possible
4	20879594	T	TC	-0.520142	0.196
4	20834349	TA	T	-0.462850	0.271
4	20834449	A	AGAAG	-0.337437	0.545
4	20834449	A	AGAAGGAAAG	-0.417830	0.350
4	20835107	C	CAAT	0.012342	2.705
4	20835107	C	CAATAATAATAATAATAAT	-0.228837	0.954
4	20835107	C	CAATAATAATAATAATAATAAT	-0.277073	0.748
4	20880166	C	G	0.529306	
4	20880910	C	G	-0.109208
4	20882329	A	G	
4	20884482	G	GA
4	20884482	G	
4	20884482	
4	20884482
# these match 5-column layout, so ignore cadd stuff
4	20879594	.	T	TC	-0.520142	0.196
4	20879594	.	T	TC	-0.520142	
4	20879594	.	T	TC		0.196
4	20879594	.	T	TC
