def flipHit(hit):
    """Returns a new hit where query and subject are flipped"""
    return [hit[1],    # 0. Query id,
            hit[0],    # 1. Subject id,
            hit[2],    # 2. % identity,
            hit[3],    # 3. alignment length,
            hit[4],    # 4. mismatches,
            hit[5],    # 5. gap openings,
            hit[8],    # 6. q. start,
            hit[9],    # 7. q. end,
            hit[6],    # 8. s. start,
            hit[7],    # 9. s. end,
            hit[10],   # 10. e-value,
            hit[11]]