|
|
@@ -144,7 +144,7 @@ use crate::{
|
|
|
commands::longphase::run_phasing_somatic,
|
|
|
config::Config,
|
|
|
pipes::{Initialize, InitializeSolo},
|
|
|
- runners::Run,
|
|
|
+ runners::Run, scan::scan::SomaticScan,
|
|
|
};
|
|
|
|
|
|
pub mod clairs;
|
|
|
@@ -233,6 +233,13 @@ pub fn run_somatic_callers(id: &str, config: &Config) -> anyhow::Result<()> {
|
|
|
let id: Arc<str> = Arc::from(id);
|
|
|
|
|
|
let handles = vec![
|
|
|
+ {
|
|
|
+ let config = Arc::clone(&config);
|
|
|
+ let id = Arc::clone(&id);
|
|
|
+ thread::spawn(move || -> anyhow::Result<()> {
|
|
|
+ SomaticScan::initialize(&id, &config)?.run()
|
|
|
+ })
|
|
|
+ },
|
|
|
{
|
|
|
let config = Arc::clone(&config);
|
|
|
let id = Arc::clone(&id);
|