Skip to content

Commit fc4d00b

Browse files
Fix typo in function name from reverse_compliment to reverse_complement
1 parent 436c16b commit fc4d00b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/pheniqs_config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113
## it is, that refers to the index which was encoded first or second. We know
114114
## that if you need to reverse complement any barcode, it's the one on Index 2,
115115
## regardless of what order it was encoded in TuboWeb.
116-
barcode_sequences = [reverse_compliment(bc['barcode_sequence'].upper())
116+
barcode_sequences = [reverse_complement(bc['barcode_sequence'].upper())
117117
if any(b['revcom'] is True for b in pool['reverse_complement']) and bc['barcode_location'] == 3
118118
else bc['barcode_sequence'].upper()
119119
for bc in sorted(barcodes, key=itemgetter('barcode_location'))]
@@ -134,4 +134,4 @@
134134
with open('demux.json', 'w') as outfile:
135135
json.dump(pheniqs_conf, outfile, indent=4)
136136

137-
print("Pheniqs config file created for lane {}: demux.json".format(lane['lane_number']))
137+
print("Pheniqs config file created for lane {}: demux.json".format(lane['lane_number']))

0 commit comments

Comments
 (0)