So this writes out the frequency of all nucleotides at the first and second position in a fastq formatted file. You need to install the bio-faster package. This can be done by as follows:
You can use input as a gnu zipped file. Call it like
Now for the script.