import operator


def best_assembly(assembly_list):
    """Based on assembly summaries find the one with the highest scaffold N50"""
    if assembly_list:
        return sorted(assembly_list, key=operator.itemgetter('scaffoldn50'))[-1]