<commit_before>#!/usr/bin/env python

import sys
import re
import sqlite3

if len(sys.argv) < 2:
    print "usage", sys.argv[0], " [dbname]"
    print "reads VCF on stdin, and writes output to a sqlite3 db [dbname]"
    exit(1)

dbname = sys.argv[1]

# parse the header
# into a mapping from tag -> type
<commit_msg>Update vcf2sqlite.py<commit_after>#!/usr/bin/env python
from __future__ import print_function
import sys
import re
import sqlite3

if len(sys.argv) < 2:
    print("usage {} [dbname]").format(sys.argv[0])
    print("reads VCF on stdin, and writes output to a sqlite3 db [dbname]")
    exit(1)

dbname = sys.argv[1]

# parse the header
# into a mapping from tag -> type

{'fraction_non_alphanumeric': 0.12280701754385964, 'fraction_numerical': 0.019005847953216373, 'mean_word_length': 3.823943661971831, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4401398', 'n_tokens_mistral': 255, 'n_tokens_neox': 242, 'n_words': 82}