Mercurial > repos > iuc > medaka_variant_pipeline
comparison convert_VCF_info_fields.py @ 8:1040a307be0c 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:07 +0000 |
parents | 08e0d74aac22 |
children | 7623e5888be9 |
comparison
equal
deleted
inserted
replaced
7:08e0d74aac22 | 8:1040a307be0c |
---|---|
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 |