<commit_before>export CWD=$PWD
export BIN_DIR="/rsgrps/bhurwitz/hurwitzlab/bin"
export FASTA_DIR="/rsgrps/bhurwitz/hurwitzlab/data/clean/pov"
export SPLIT_FA_DIR="/rsgrps/bhurwitz/ajacob/blast-pipeline/fasta-split"
export BLAST_OUT_DIR="/rsgrps/bhurwitz/ajacob/blast-pipeline/blast-out"
export SCRIPT_DIR="$CWD/workers"
export FA_SPLIT_FILE_SIZE=5000000 # in KB
export BLAST_CONF_FILE="/rsgrps/bhurwitz/ajacob/blast-pipeline/blastdbs"
export BLAST="/rsgrps/bhurwitz/hurwitzlab/bin/blastall"
export JOBS=100

function create_dir {
    for dir in $*; do
        if [ -d "$dir" ]; then
            rm -rf $dir/*
        else
            mkdir -p "$dir"
        fi
    done
}
<commit_msg>smaller FA split size, renamed "create_dir" to "init_dir" to better convey meaning<commit_after>export CWD=$PWD
export BIN_DIR="/rsgrps/bhurwitz/hurwitzlab/bin"
export FASTA_DIR="/rsgrps/bhurwitz/hurwitzlab/data/clean/pov"
export SPLIT_FA_DIR="/rsgrps/bhurwitz/ajacob/blast-pipeline/fasta-split"
export BLAST_OUT_DIR="/rsgrps/bhurwitz/ajacob/blast-pipeline/blast-out"
export SCRIPT_DIR="$CWD/workers"
export FA_SPLIT_FILE_SIZE=500000 # in KB
export BLAST_CONF_FILE="/rsgrps/bhurwitz/ajacob/blast-pipeline/blastdbs"
export BLAST="/rsgrps/bhurwitz/hurwitzlab/bin/blastall"
export JOBS=100

function init_dir {
    for dir in $*; do
        if [ -d "$dir" ]; then
            rm -rf $dir/*
        else
            mkdir -p "$dir"
        fi
    done
}

{'fraction_non_alphanumeric': 0.12343096234309624, 'fraction_numerical': 0.013249651324965132, 'mean_word_length': 3.783333333333333, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6841296', 'n_tokens_mistral': 605, 'n_tokens_neox': 543, 'n_words': 93}