in reply to Using Hashes to replace values

Your sample output contains 76 0's and 1's. I count 32 0's and 1's in the input, one for each line. The input also contain 32 letters from the set A C G T, and 16 multi digit numbers, none of them appearing in the output.

I cannot figure out the relation between the input and the output.