def getOrganismCountsFromFile(orgCountFile):
    """
    Parse the given file into dictionary from organism name to count of hits
    """
    orgCounts = {}
    with open(orgCountFile) as f:
        for line in f:
            (organism, counts) = line.split(None, 1)
            orgCounts[organism] = int(counts)
    return orgCounts