Skip to content

Commit a3228e4

Browse files
committed
Fix softmasked sequences in k-mers not being reverse complemented
1 parent 18e1e07 commit a3228e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

newmap/unique_counts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
KMER_RANGE_SEPARATOR = ":"
1313
SEQUENCE_ID_SEPARATOR = ","
1414

15-
COMPLEMENT_TRANSLATE_TABLE = bytes.maketrans(b'ACGT', b'TGCA')
15+
COMPLEMENT_TRANSLATE_TABLE = bytes.maketrans(b'ACGTacgt', b'TGCAtgca')
1616
ALLOWED_BASES = b'ACGTactg'
1717
UNIQUE_COUNT_FILENAME_FORMAT = "{}.unique.{}"
1818

0 commit comments

Comments
 (0)