diff read2mut.py @ 5:d9cbf833624e draft

planemo upload for repository https://github.com/gpovysil/VariantAnalyzerGalaxy/tree/master/tools/variant_analyzer commit ee4a8e6cf290e6c8a4d55f9cd2839d60ab3b11c8
author mheinzl
date Tue, 27 Oct 2020 12:46:55 +0000
parents 386438cd4c3b
children 11a2a34f8a2b
line wrap: on
line diff
--- a/read2mut.py	Tue Oct 27 12:39:21 2020 +0000
+++ b/read2mut.py	Tue Oct 27 12:46:55 2020 +0000
@@ -159,9 +159,9 @@
                             count_alt += 1
                             if tag not in mut_read_dict:
                                 mut_read_dict[tag] = {}
-                                mut_read_dict[tag][chrom_stop_pos] = alt
+                                mut_read_dict[tag][chrom_stop_pos] = (alt, ref)
                             else:
-                                mut_read_dict[tag][chrom_stop_pos] = alt
+                                mut_read_dict[tag][chrom_stop_pos] = (alt, ref)
                         elif nuc == ref:
                             count_ref += 1
                         elif nuc == "N":