def infotsv_to_dict(tsv_file):
    """
    Converts a tsv file with the following columns:
    acc number, description
    to a dict, with gsmnumber as key
    """
    infodict = {}
    with open(tsv_file, "r") as tsv:
        for line in tsv:
            line = line.strip().split("\t")
            infodict[line[0]] = {"desp": line[1].replace(" ", "_")}
    return infodict