Your Name 1 жил өмнө
parent
commit
57fe3f17d2

+ 1 - 1
src/collection/mod.rs

@@ -50,7 +50,7 @@ impl Default for CollectionsConfig {
             corrected_fc_path: "/data/flow_cells.tsv".to_string(),
             corrected_fc_path: "/data/flow_cells.tsv".to_string(),
             result_dir: "/data/longreads_basic_pipe".to_string(),
             result_dir: "/data/longreads_basic_pipe".to_string(),
             dict_file: "/data/ref/hs1/chm13v2.0.dict".to_string(),
             dict_file: "/data/ref/hs1/chm13v2.0.dict".to_string(),
-            min_diag_cov: 15.0,
+            min_diag_cov: 12.0,
             min_mrd_cov: 10.0,
             min_mrd_cov: 10.0,
         }
         }
     }
     }

+ 4 - 0
src/lib.rs

@@ -18,6 +18,8 @@ lazy_static! {
 
 
 #[cfg(test)]
 #[cfg(test)]
 mod tests {
 mod tests {
+    use log::info;
+
     use self::{callers::deep_variant::DeepVariantConfig, collection::pod5::{FlowCellCase, Pod5Collection}, commands::dorado, config::Config};
     use self::{callers::deep_variant::DeepVariantConfig, collection::pod5::{FlowCellCase, Pod5Collection}, commands::dorado, config::Config};
     use super::*;
     use super::*;
     use crate::{callers::{clairs::{ClairS, ClairSConfig}, deep_variant::DeepVariant, nanomonsv::{NanomonSV, NanomonSVConfig}}, collection::{bam::{self, BamType}, run_tasks, variants::VariantsCollection, vcf::VcfCollection, Collections, CollectionsConfig}, commands::{bcftools::{bcftools_keep_pass, BcftoolsConfig}, dorado::Dorado}};
     use crate::{callers::{clairs::{ClairS, ClairSConfig}, deep_variant::DeepVariant, nanomonsv::{NanomonSV, NanomonSVConfig}}, collection::{bam::{self, BamType}, run_tasks, variants::VariantsCollection, vcf::VcfCollection, Collections, CollectionsConfig}, commands::{bcftools::{bcftools_keep_pass, BcftoolsConfig}, dorado::Dorado}};
@@ -122,12 +124,14 @@ mod tests {
         let mut collections = Collections::new(
         let mut collections = Collections::new(
             CollectionsConfig::default()
             CollectionsConfig::default()
         )?;
         )?;
+        info!("Runing todo with config: {:#?}", collections);
         collections.todo()?;
         collections.todo()?;
         println!("{:#?}", collections.tasks);
         println!("{:#?}", collections.tasks);
         println!("{}", collections.tasks.len());
         println!("{}", collections.tasks.len());
         Ok(())
         Ok(())
     }
     }
 
 
+    // export RUST_LOG="debug"
     #[test_log::test]
     #[test_log::test]
     fn run_t() -> anyhow::Result<()> {
     fn run_t() -> anyhow::Result<()> {
         run_tasks(CollectionsConfig::default())
         run_tasks(CollectionsConfig::default())