comparison read2mut.py @ 65:712a37137b1f draft

planemo upload for repository https://github.com/Single-Molecule-Genetics/VariantAnalyzerGalaxy/tree/master/tools/variant_analyzer commit ee4a8e6cf290e6c8a4d55f9cd2839d60ab3b11c8
author mheinzl
date Thu, 18 Mar 2021 10:21:12 +0000
parents fd342f5a97d9
children d20be7e66378
comparison
equal deleted inserted replaced
64:fd342f5a97d9 65:712a37137b1f
969 trimmed_actual_high_tier = True 969 trimmed_actual_high_tier = True
970 elif (all(int(ij) >= 1 for ij in [total1new_trim, total2new_trim, total3new_trim, total4new_trim]) & 970 elif (all(int(ij) >= 1 for ij in [total1new_trim, total2new_trim, total3new_trim, total4new_trim]) &
971 any(int(ij) >= 3 for ij in [total1new_trim, total4new_trim]) & 971 any(int(ij) >= 3 for ij in [total1new_trim, total4new_trim]) &
972 any(int(ij) >= 3 for ij in [total2new_trim, total3new_trim]) & 972 any(int(ij) >= 3 for ij in [total2new_trim, total3new_trim]) &
973 all(float(ij) >= 0.75 for ij in [alt1ff, alt2ff, alt3ff, alt4ff])): 973 all(float(ij) >= 0.75 for ij in [alt1ff, alt2ff, alt3ff, alt4ff])):
974 trimmed_actual_high_tier = True 974 trimmed_actual_high_tier = True
975 elif ((all(int(ij) >= 1 for ij in [total1new_trim, total4new_trim]) & 975 elif ((all(int(ij) >= 1 for ij in [total1new_trim, total4new_trim]) &
976 any(int(ij) >= 3 for ij in [total1new_trim, total4new_trim]) & 976 any(int(ij) >= 3 for ij in [total1new_trim, total4new_trim]) &
977 all(float(ij) >= 0.75 for ij in [alt1ff_trim, alt4ff_trim])) | 977 all(float(ij) >= 0.75 for ij in [alt1ff_trim, alt4ff_trim])) |
978 (all(int(ij) >= 1 for ij in [total2new_trim, total3new_trim]) & 978 (all(int(ij) >= 1 for ij in [total2new_trim, total3new_trim]) &
979 any(int(ij) >= 3 for ij in [total2new_trim, total3new_trim]) & 979 any(int(ij) >= 3 for ij in [total2new_trim, total3new_trim]) &
980 all(float(ij) >= 0.75 for ij in [alt2ff_trim, alt3ff_trim]))): 980 all(float(ij) >= 0.75 for ij in [alt2ff_trim, alt3ff_trim]))):
981 trimmed_actual_high_tier = True 981 trimmed_actual_high_tier = True
982 elif (all(int(ij) >= 1 for ij in [total1new_trim, total2new_trim, total3new_trim, total4new_trim]) & 982 elif (all(int(ij) >= 1 for ij in [total1new_trim, total2new_trim, total3new_trim, total4new_trim]) &