Commit e929c1ae authored by Sander Bollen's avatar Sander Bollen
Browse files

cyvcf2 has since been updated such that transitions also work in python 3

parent 2d051084
......@@ -52,7 +52,7 @@ class Sample(object):
if typ == 2:
self.hom_alt += 1
if var.is_snp and var.is_transition: # this only works in python 2 for now. See:
if var.is_snp and var.is_transition:
self.transitions += 1
self.snps += 1
elif var.is_snp:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment