def allPossibleCombinations(barcode):
    """ returns a list of all possible combinations of a barcode with one mismatch"""
    combinations = list()
    for i in range(len(barcode)):
        newbarcode = list(barcode)
        newbarcode[i] = 'N'
        combinations.append(''.join(newbarcode))
    return combinations
