I have generated an edited DNA sequencing file that has individual reads on different lines. And would like to eliminate those that match within one character of another line.

Input file:

```
AAAAAAAAAAAA    #Start checking at line 1
TTTTTTTTTTTT    #Diff by >1 char: Keep
AAAAACAAAAAA    #Diff by 1 char: Delete
AAAAACAAACAA    #Diff by 2 char: Keep
AAAAAAAAAAAA    #Diff by <1 char: Delete

```

Output file:

```
AAAAAAAAAAAA
TTTTTTTTTTTT
AAAAACAAACAA

```

What I have so far:

```
with open(current_file, 'r') as f:
    lineCharsList = []
    outLines = []
    for line in f:
        lineChars = line[:]

        if not (lineChars in lineCharsList):    #exactly matches lines, need partial matching
            lineCharsList.append(lineChars)
            outLines.append(line)
            print line

```