changeset 53:27b00e38e13d draft

planemo upload for repository https://github.com/Single-Molecule-Genetics/VariantAnalyzerGalaxy/tree/master/tools/variant_analyzer commit ee4a8e6cf290e6c8a4d55f9cd2839d60ab3b11c8
author mheinzl
date Thu, 11 Mar 2021 15:07:30 +0000
parents 49ecab32c83f
children 95c27bcb1b7a
files read2mut.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/read2mut.py	Thu Mar 11 15:03:42 2021 +0000
+++ b/read2mut.py	Thu Mar 11 15:07:30 2021 +0000
@@ -1073,7 +1073,7 @@
             # move tier 4 counts to tier 2.5 if there other mutations with tier <= 2.4
             print(list(sorted(tier_dict[key1].keys())))
             print(list(sorted(tier_dict[key1].keys()))[:6])
-            sum_highTiers = sum([tier_dict[key1][ij] for ij in list(tier_dict[key1].keys())[:6]])
+            sum_highTiers = sum([tier_dict[key1][ij] for ij in list(sorted(tier_dict[key1].keys()))[:6]])
             print(sum_highTiers)
             if tier_dict[key1]["tier 4"] > 0 and sum_highTiers > 0:
                 tier_dict[key1]["tier 2.5"] = tier_dict[key1]["tier 4"]