From f6d57fec493cc90c05c744b0913d069d372a19ef Mon Sep 17 00:00:00 2001 From: AroneyS Date: Fri, 31 May 2024 13:38:35 +1000 Subject: [PATCH] change default mapper to strobealign --- src/cli.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/cli.rs b/src/cli.rs index 53f3613..87f76f9 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -21,7 +21,7 @@ const MAPPING_SOFTWARE_LIST: &[&str] = &[ "minimap2-no-preset", "strobealign", ]; -const DEFAULT_MAPPING_SOFTWARE: &str = "minimap2-sr"; +const DEFAULT_MAPPING_SOFTWARE: &str = "strobealign"; lazy_static! { pub static ref COVERM_CLUSTER_COMMAND_DEFINITION: GalahClustererCommandDefinition = { @@ -50,13 +50,9 @@ fn add_mapping_options(manual: Manual) -> Manual { Section::new("Mapping algorithm options") .option(Opt::new("NAME").short("-p").long("--mapper").help(&format!( "Underlying mapping software used {}. One of: {}", - default_roff("minimap2-sr"), + default_roff("strobealign"), bird_tool_utils::clap_utils::table_roff(&[ &["name", "description"], - &[ - &monospace_roff("minimap2-sr"), - &format!("minimap2 with '{}' option", &monospace_roff("-x sr")) - ], &[ &monospace_roff("strobealign"), "strobealign using default parameters" @@ -69,6 +65,10 @@ fn add_mapping_options(manual: Manual) -> Manual { &monospace_roff("bwa-mem2"), "bwa-mem2 using default parameters" ], + &[ + &monospace_roff("minimap2-sr"), + &format!("minimap2 with '{}' option", &monospace_roff("-x sr")) + ], &[ &monospace_roff("minimap2-ont"), &format!("minimap2 with '{}' option", &monospace_roff("-x map-ont"))