def parse_genome(genome_file):
	"""Parses genome into dictionary
	
	Parameters
	----------
	genome_file : str
		path to genome file
		
	Returns
	-------
	dict
		key is chromosome, value is chromosome sequence"""
	
	genome = open(genome_file).read().replace("\n","")
	#Split genome into chromosome dictionary with key = chr id and item chromosome sequence
	chromosomes = genome.split(">")
	del chromosomes[0]
	chromosomedict = {}
	for chromosome in chromosomes:
		chromid = chromosome[0:5]
		chromsequence = chromosome[5:]
		chromosomedict[chromid] = chromsequence
	return chromosomedict