changeset 52:49ecab32c83f 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:03:42 +0000
parents 26e53b5b8bcb
children 27b00e38e13d
files read2mut.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/read2mut.py	Thu Mar 11 14:58:29 2021 +0000
+++ b/read2mut.py	Thu Mar 11 15:03:42 2021 +0000
@@ -1071,7 +1071,8 @@
                 chimera_dict[key1] = (chimeric_dcs, chimeric_dcs_high_tiers)
 
             # move tier 4 counts to tier 2.5 if there other mutations with tier <= 2.4
-            print(list(tier_dict[key1].keys())[:6])
+            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]])
             print(sum_highTiers)
             if tier_dict[key1]["tier 4"] > 0 and sum_highTiers > 0: