Mercurial > repos > iuc > medaka_consensus
comparison convert_VCF_info_fields.py @ 9:eb1f4ba66dc6 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:14:28 +0000 |
parents | 6ca28e6144fa |
children | 0413e62b757a |
comparison
equal
deleted
inserted
replaced
8:6ca28e6144fa | 9:eb1f4ba66dc6 |
---|---|
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 |