def highlightMutations(sequence, substitutions, deletions):
    """ Corrects the sequence based on the substitutions and deletions information using info from GTF file data. 
	The substitutions and deletions should be 0-based positions of the read and insertions should have been removed"""
    nucleotides = list(sequence)
    if deletions:
        for position in deletions:
            nucleotides.insert(position, '-')
    if substitutions:
        for position in substitutions:
            nucleotides[position] = nucleotides[position].lower()
    return ''.join(nucleotides)
