def write_weight_file(weights, outputFile):
    """ output the RSCUs or weights """
    with open(outputFile, 'w') as f:
        f.write('%s\t%s\n' % ('codons', 'weights'))
        for k, v in weights.items():
            f.write('%s\t%s\n' % (str(k), str(v)))
