import csv


def read_annotation(filename, column):
    """Read annotation data, output dictionary with values form column as key"""
    data = {}
    with open(filename, newline='') as f:
        reader = csv.DictReader(f, delimiter="\t")
        for row in reader:
            data[row[column]] = row
    return data