<commit_before>import gzip
import sys

# the location of the taxonomy files
defaultdir = '/home/db/taxonomy/current/'

'''
From nodes.dmp
        tax_id                                  -- node id in GenBank taxonomy database
        parent tax_id                           -- parent node id in GenBank taxonomy database
        rank                                    -- rank of this node (superkingdom, kingdom, ...)
        embl code                               -- locus-name prefix; not unique<commit_msg>Converting to python3<commit_after>import gzip
import sys

# the location of the taxonomy files
defaultdir = '/home2/db/taxonomy/current'

'''
From nodes.dmp
        tax_id                                  -- node id in GenBank taxonomy database
        parent tax_id                           -- parent node id in GenBank taxonomy database
        rank                                    -- rank of this node (superkingdom, kingdom, ...)
        embl code                               -- locus-name prefix; not unique
{'fraction_non_alphanumeric': 0.06310679611650485, 'fraction_numerical': 0.001941747572815534, 'mean_word_length': 1.2709251101321586, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3572121', 'n_tokens_mistral': 243, 'n_tokens_neox': 233, 'n_words': 87}