Thomas 1 月之前
父節點
當前提交
f685632548
共有 2 個文件被更改,包括 13 次插入0 次删除
  1. 12 0
      src/io/vcf.rs
  2. 1 0
      src/variant/variants_stats.rs

+ 12 - 0
src/io/vcf.rs

@@ -252,3 +252,15 @@ pub fn vcf_header(dict: &str) -> anyhow::Result<Vec<String>> {
 
     Ok(header)
 }
+#[cfg(test)]
+mod tests {
+    use crate::config::Config;
+
+    use super::*;
+
+    #[test]
+    fn vcf_dbsnp() {
+        let config = Config::default();
+        fetch_vcf(conf.db_snp, &GenomeRange::new("chr10", , end))
+    }
+}

+ 1 - 0
src/variant/variants_stats.rs

@@ -581,6 +581,7 @@ pub fn somatic_depth_quality_ranges(
         .filter(|(ctg, _)| ctg != "chrM")
         .map(|(sn, _ln)| sn)
         .collect();
+    println!("{contigs:#?}");
 
     let cfg = config;