Mercurial > repos > iuc > medaka_variant
comparison convert_VCF_info_fields.py @ 8:edf6d4003fad draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e0684fe95538cf97b1199ad1072d3da6d1619443"
author | iuc |
---|---|
date | Tue, 23 Feb 2021 20:13:39 +0000 |
parents | 28c13c42de01 |
children | 9fb055604648 |
comparison
equal
deleted
inserted
replaced
7:28c13c42de01 | 8:edf6d4003fad |
---|---|
84 info.append("DPSPS=%d,%d" % (dpspf, dpspr)) | 84 info.append("DPSPS=%d,%d" % (dpspf, dpspr)) |
85 | 85 |
86 if dpsp == 0: | 86 if dpsp == 0: |
87 info.append("AF=NaN") | 87 info.append("AF=NaN") |
88 else: | 88 else: |
89 af = dp4[2] + dp4[3] / dpsp | 89 af = (dp4[2] + dp4[3]) / dpsp |
90 info.append("AF=%.6f" % (af)) | 90 info.append("AF=%.6f" % (af)) |
91 if dpspf == 0: | 91 if dpspf == 0: |
92 info.append("FAF=NaN") | 92 info.append("FAF=NaN") |
93 else: | 93 else: |
94 faf = dp4[2] / dpspf | 94 faf = dp4[2] / dpspf |