浏览代码

savana alt/depth from info, added n_alt_depth for info and above for vcf_variant

Thomas 7 月之前
父节点
当前提交
45d35dec76
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/variant/variant_collection.rs

+ 1 - 1
src/variant/variant_collection.rs

@@ -770,7 +770,7 @@ impl Variant {
         let (n_alts, depths): (Vec<u32>, Vec<u32>) = self
             .vcf_variants
             .iter()
-            .filter_map(|vv| vv.formats.n_alt_depth())
+            .filter_map(|vv| vv.n_alt_depth())
             .unzip();
 
         (mean(&n_alts), mean(&depths))