<commit_before>#!/bin/bash

awk '{if (match($8,/'"A"'/) && match($7,/'"C"'/) ){print}}' hit.txt > cat > count_AtoC.txt
numAtoC=$(cat count_AtoC.txt | wc -l)
echo "number of A to C count: $numAtoC"
echo "AtoC	$numAtoC" > count_table.txt 
awk '{if (match($8,/'"A"'/) && match($7,/'"G"'/) ){print}}' hit.txt > cat > count_AtoG.txt
numAtoG=$(cat count_AtoG.txt | wc -l)
echo "number of A to G count: $numAtoG"
echo "AtoG	$numAtoG" >> count_table.txt
awk '{if (match($8,/'"A"'/) && match($7,/'"T"'/) ){print}}' hit.txt > cat > count_AtoT.txt
numAtoT=$(cat count_AtoT.txt | wc -l)
echo "number of A to T count: $numAtoT"
echo "AtoT	$numAtoT" >> count_table.txt
awk '{if (match($8,/'"C"'/) && match($7,/'"A"'/) ){print}}' hit.txt > cat > count_CtoA.txt
numCtoA=$(cat count_CtoA.txt | wc -l)
echo "number of C to A count: $numCtoA"
echo "CtoA	$numCtoA" >> count_table.txt
awk '{if (match($8,/'"C"'/) && match($7,/'"G"'/) ){print}}' hit.txt > cat > count_CtoG.txt
numCtoG=$(cat count_CtoG.txt | wc -l)
echo "number of C to G count: $numCtoG"
echo "CtoG	$numCtoG" >> count_table.txt
awk '{if (match($8,/'"C"'/) && match($7,/'"T"'/) ){print}}' hit.txt > cat > count_CtoT.txt
numCtoT=$(cat count_CtoT.txt | wc -l)
echo "number of C to T count: $numCtoT"
echo "CtoT	$numCtoT" >> count_table.txt
awk '{if (match($8,/'"G"'/) && match($7,/'"A"'/) ){print}}' hit.txt > cat > count_GtoA.txt
numGtoA=$(cat count_GtoA.txt | wc -l)
echo "number of G to A count: $numGtoA"
echo "GtoA	$numGtoA" >> count_table.txt
awk '{if (match($8,/'"G"'/) && match($7,/'"C"'/) ){print}}' hit.txt > cat > count_GtoC.txt
numGtoC=$(cat count_GtoC.txt | wc -l)
echo "number of G to C count: $numGtoC"
echo "GtoC	$numGtoC" >> count_table.txt
awk '{if (match($8,/'"G"'/) && match($7,/'"T"'/) ){print}}' hit.txt > cat > count_GtoT.txt
numGtoT=$(cat count_GtoT.txt | wc -l)
echo "number of G to T count: $numGtoT"
echo "GtoT	$numGtoT" >> count_table.txt
awk '{if (match($8,/'"T"'/) && match($7,/'"A"'/) ){print}}' hit.txt > cat > count_TtoA.txt
numTtoA=$(cat count_TtoA.txt | wc -l)
echo "number of T to A count: $numTtoA"
echo "TtoA	$numTtoA" >> count_table.txt
awk '{if (match($8,/'"T"'/) && match($7,/'"C"'/) ){print}}' hit.txt > cat > count_TtoC.txt
numTtoC=$(cat count_TtoC.txt | wc -l)
echo "number of T to C count: $numTtoC"
echo "TtoC	$numTtoC" >> count_table.txt
awk '{if (match($8,/'"T"'/) && match($7,/'"G"'/) ){print}}' hit.txt > cat > count_TtoG.txt<commit_msg>made command line arg<commit_after>#!/bin/bash

awk '{if (match($8,/'"A"'/) && match($7,/'"C"'/) ){print}}' $1 > cat > count_AtoC.txt
numAtoC=$(cat count_AtoC.txt | wc -l)
echo "number of A to C count: $numAtoC"
echo "AtoC	$numAtoC" > count_table.txt 
awk '{if (match($8,/'"A"'/) && match($7,/'"G"'/) ){print}}' $1 > cat > count_AtoG.txt
numAtoG=$(cat count_AtoG.txt | wc -l)
echo "number of A to G count: $numAtoG"
echo "AtoG	$numAtoG" >> count_table.txt
awk '{if (match($8,/'"A"'/) && match($7,/'"T"'/) ){print}}' $1 > cat > count_AtoT.txt
numAtoT=$(cat count_AtoT.txt | wc -l)
echo "number of A to T count: $numAtoT"
echo "AtoT	$numAtoT" >> count_table.txt
awk '{if (match($8,/'"C"'/) && match($7,/'"A"'/) ){print}}' $1 > cat > count_CtoA.txt
numCtoA=$(cat count_CtoA.txt | wc -l)
echo "number of C to A count: $numCtoA"
echo "CtoA	$numCtoA" >> count_table.txt
awk '{if (match($8,/'"C"'/) && match($7,/'"G"'/) ){print}}' $1 > cat > count_CtoG.txt
numCtoG=$(cat count_CtoG.txt | wc -l)
echo "number of C to G count: $numCtoG"
echo "CtoG	$numCtoG" >> count_table.txt
awk '{if (match($8,/'"C"'/) && match($7,/'"T"'/) ){print}}' $1 > cat > count_CtoT.txt
numCtoT=$(cat count_CtoT.txt | wc -l)
echo "number of C to T count: $numCtoT"
echo "CtoT	$numCtoT" >> count_table.txt
awk '{if (match($8,/'"G"'/) && match($7,/'"A"'/) ){print}}' $1 > cat > count_GtoA.txt
numGtoA=$(cat count_GtoA.txt | wc -l)
echo "number of G to A count: $numGtoA"
echo "GtoA	$numGtoA" >> count_table.txt
awk '{if (match($8,/'"G"'/) && match($7,/'"C"'/) ){print}}' $1 > cat > count_GtoC.txt
numGtoC=$(cat count_GtoC.txt | wc -l)
echo "number of G to C count: $numGtoC"
echo "GtoC	$numGtoC" >> count_table.txt
awk '{if (match($8,/'"G"'/) && match($7,/'"T"'/) ){print}}' $1 > cat > count_GtoT.txt
numGtoT=$(cat count_GtoT.txt | wc -l)
echo "number of G to T count: $numGtoT"
echo "GtoT	$numGtoT" >> count_table.txt
awk '{if (match($8,/'"T"'/) && match($7,/'"A"'/) ){print}}' $1 > cat > count_TtoA.txt
numTtoA=$(cat count_TtoA.txt | wc -l)
echo "number of T to A count: $numTtoA"
echo "TtoA	$numTtoA" >> count_table.txt
awk '{if (match($8,/'"T"'/) && match($7,/'"C"'/) ){print}}' $1 > cat > count_TtoC.txt
numTtoC=$(cat count_TtoC.txt | wc -l)
echo "number of T to C count: $numTtoC"
echo "TtoC	$numTtoC" >> count_table.txt
awk '{if (match($8,/'"T"'/) && match($7,/'"G"'/) ){print}}' $1 > cat > count_TtoG.txt
{'fraction_non_alphanumeric': 0.25010403662089054, 'fraction_numerical': 0.012484394506866416, 'mean_word_length': 4.525287356321839, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 93, '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': '1280742', 'n_tokens_mistral': 2268, 'n_tokens_neox': 2191, 'n_words': 548}