def read_mash_output(result_file):
    """
    :param result_file: Tab-delimited result file generated by mash dist.
    :return: mash_results: A list with each entry in the result file as an entry, with attributes reference, query,
    distance, pvalue, and matching_hash
    """
    with open(result_file) as handle:
        lines = handle.readlines()
    mash_results = list()
    for line in lines:
        result = MashResult(line)
        mash_results.append(result)
    return mash_results