Skip to content

Commit

Permalink
fix issue in vafator2decifer script with floats and ints
Browse files Browse the repository at this point in the history
  • Loading branch information
priesgo committed Apr 12, 2022
1 parent 89650ed commit 92101d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion vafator/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION='1.2.5'
VERSION='1.2.6'
2 changes: 1 addition & 1 deletion vafator/vafator2decifer.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def compute_ref_var_depths(vcf, FilterDP, samples):
for s in samples:
alt = variant.INFO["{}_ac".format(s)]
ref = variant.INFO["{}_dp".format(s)] - alt
ref_var_depths[char_label].append((ref, alt))
ref_var_depths[char_label].append((int(ref), int(alt)))
return ref_var_depths


Expand Down

0 comments on commit 92101d2

Please sign in to comment.