<commit_before>

import sys
<commit_msg>myvcf<commit_after>"""
...| python myVCF.py <col1>,<col2>
"""

import sys

args = sys.argv[1:]

from evolib.iterators import vcf_iter

colstr = args[0]
cols = colstr.split(",")

for row in vcf_iter(sys.stdin):
    chrom, pos = row["CHROM"], row["POS"]

    print chrom, pos,

    for col in cols:
        colobj = row[col]
        print colobj,
    print "\n",

    

    

{'fraction_non_alphanumeric': 0.1549636803874092, 'fraction_numerical': 0.009685230024213076, 'mean_word_length': 2.7981651376146788, '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': '3567167', 'n_tokens_mistral': 166, 'n_tokens_neox': 161, 'n_words': 40}