def get_categories(cat_file):
    """Get categories of plasmids from input file"""
    catDict = {}
    with open(cat_file, 'r') as infile:
        for line in infile:
            line = line.strip().split()
            catDict[line[0]] = line[1]
    return catDict