Skip to content

Commit 163eea6

Browse files
committed
Corrected a bug with a "\".
1 parent 655f9b8 commit 163eea6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pipeutils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ def Ambiguifier(bases):
4444

4545
def ASCII_to_num(qual):
4646
"""Translate a fastq qual value from ASCII to decimal and return it."""
47-
values = "!\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^\
48-
_`abcdefghijklmnopqrstuvwxyz{|}~"
47+
values = "!\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^\
48+
_`abcdefghijklmnopqrstuvwxyz{|}~"
4949
num_qual = values.index(qual)
5050

5151
return num_qual

0 commit comments

Comments
 (0)