Pārlūkot izejas kodu

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

Thomas 7 mēneši atpakaļ
vecāks
revīzija
45d35dec76
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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))