A script to calculate oligo frequency