Mercurial > repos > mheinzl > variant_analyzer2
diff 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 |
line wrap: on
line diff
--- a/read2mut.py Thu Mar 18 10:14:24 2021 +0000 +++ b/read2mut.py Thu Mar 18 10:21:12 2021 +0000 @@ -971,10 +971,10 @@ any(int(ij) >= 3 for ij in [total1new_trim, total4new_trim]) & any(int(ij) >= 3 for ij in [total2new_trim, total3new_trim]) & all(float(ij) >= 0.75 for ij in [alt1ff, alt2ff, alt3ff, alt4ff])): - trimmed_actual_high_tier = True - elif ((all(int(ij) >= 1 for ij in [total1new_trim, total4new_trim]) & - any(int(ij) >= 3 for ij in [total1new_trim, total4new_trim]) & - all(float(ij) >= 0.75 for ij in [alt1ff_trim, alt4ff_trim])) | + trimmed_actual_high_tier = True + elif ((all(int(ij) >= 1 for ij in [total1new_trim, total4new_trim]) & + any(int(ij) >= 3 for ij in [total1new_trim, total4new_trim]) & + all(float(ij) >= 0.75 for ij in [alt1ff_trim, alt4ff_trim])) | (all(int(ij) >= 1 for ij in [total2new_trim, total3new_trim]) & any(int(ij) >= 3 for ij in [total2new_trim, total3new_trim]) & all(float(ij) >= 0.75 for ij in [alt2ff_trim, alt3ff_trim]))):