Repository 'medaka_consensus_pipeline'
hg clone https://toolshed.g2.bx.psu.edu/repos/iuc/medaka_consensus_pipeline

Changeset 8:2c72b8c09a70 (2021-02-23)
Previous changeset 7:57beb8ea55b4 (2021-02-22) Next changeset 9:a7228a7ea146 (2021-03-29)
Commit message:
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e0684fe95538cf97b1199ad1072d3da6d1619443"
modified:
convert_VCF_info_fields.py
b
diff -r 57beb8ea55b4 -r 2c72b8c09a70 convert_VCF_info_fields.py
--- a/convert_VCF_info_fields.py Mon Feb 22 19:59:21 2021 +0000
+++ b/convert_VCF_info_fields.py Tue Feb 23 20:14:03 2021 +0000
[
@@ -86,7 +86,7 @@
                     if dpsp == 0:
                         info.append("AF=NaN")
                     else:
-                        af = dp4[2] + dp4[3] / dpsp
+                        af = (dp4[2] + dp4[3]) / dpsp
                         info.append("AF=%.6f" % (af))
                     if dpspf == 0:
                         info.append("FAF=NaN")