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

fix for #200

parent 895a1f22
......@@ -490,7 +490,7 @@ object VcfStats extends ToolCommand {
else buffer += key -> (map + (value -> map.getOrElse(value, 0)))
}
buffer += "QUAL" -> Map(record.getPhredScaledQual -> 1)
buffer += "QUAL" -> Map(Math.round(record.getPhredScaledQual) -> 1)
addToBuffer("SampleDistribution-Het", record.getGenotypes.count(genotype => genotype.isHet), found = true)
addToBuffer("SampleDistribution-HetNonRef", record.getGenotypes.count(genotype => genotype.isHetNonRef), found = true)
......
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