Skip to content

Commit

Permalink
Merge 5343729 into 89be1f3
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkinsc committed Apr 10, 2019
2 parents 89be1f3 + 5343729 commit 556e03c
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions util/illumina_indices.py
Expand Up @@ -1803,12 +1803,13 @@ def guess_barcodes_for_sample(self, sample_name):
out_dict["match_type"] = "high_count_novel_pair"
break

out_dict["guessed_barcode_1"] = putative_match[0]
out_dict["guessed_barcode_1_name"] = self.barcode_name_map[putative_match[0]]
if is_dual_index:
out_dict["guessed_barcode_2"] = putative_match[1]
out_dict["guessed_barcode_2_name"] = self.barcode_name_map[putative_match[1]]
out_dict["guessed_barcodes_read_count"] = self.barcodes_seen[(putative_match[0],putative_match[1])]
if putative_match[0]!=None:
out_dict["guessed_barcode_1"] = putative_match[0]
out_dict["guessed_barcode_1_name"] = self.barcode_name_map[putative_match[0]]
if is_dual_index and putative_match[1] != None:
out_dict["guessed_barcode_2"] = putative_match[1]
out_dict["guessed_barcode_2_name"] = self.barcode_name_map[putative_match[1]]
out_dict["guessed_barcodes_read_count"] = self.barcodes_seen[(putative_match[0],putative_match[1])]

return out_dict

Expand Down

0 comments on commit 556e03c

Please sign in to comment.