I've been looking for a way to split by ',' in a dictionary while retaining the present lists but have not been succesful. I want to split this dictionary:
{'R_ARABR': ['YHR104W'], 'R_GLYCt': ['YLL043W'], 'R_LPP_SC': ['YDR284C', 'YDR503C'], 'R_TREH': ['YDR001C', 'YBR001C'], 'R_CTPS2': ['YBL039C', 'YJR103W'], 'R_CTPS1': ['YBL039C', 'YJR103W']}
To appear like this:
{'R_ARABR': ['YHR104W'],
'R_GLYCt': ['YLL043W'],
'R_LPP_SC': ['YDR284C', 'YDR503C'],
'R_TREH': ['YDR001C', 'YBR001C'],
'R_CTPS2': ['YBL039C', 'YJR103W'],
'R_CTPS1': ['YBL039C', 'YJR103W']}
Help is much appreciated!