fibertools_rs/cli/
predict_opts.rs1use super::nucleosome_opts::NucleosomeParameters;
2use crate::utils::input_bam::InputBam;
3use clap::Args;
4use std::fmt::Debug;
5
6#[derive(Args, Debug)]
7pub struct PredictM6AOptions {
8 #[clap(flatten)]
9 pub input: InputBam,
10 #[clap(default_value = "-")]
12 pub out: String,
13 #[clap(flatten)]
14 pub nuc: NucleosomeParameters,
15 #[clap(short, long)]
17 pub keep: bool,
18 #[clap(long, help_heading = "Developer-Options")]
20 pub force_min_ml_score: Option<u8>,
21 #[clap(long, help_heading = "Developer-Options")]
23 pub all_calls: bool,
24 #[clap(short, long, default_value = "1", help_heading = "Developer-Options")]
28 pub batch_size: usize,
29 #[clap(long, help_heading = "Developer-Options", hide = true)]
31 pub fake: bool,
32}
33
34impl std::default::Default for PredictM6AOptions {
35 fn default() -> Self {
36 Self {
37 input: InputBam::default(),
38 out: "-".to_string(),
39 nuc: NucleosomeParameters::default(),
40 keep: false,
41 force_min_ml_score: None,
42 all_calls: false,
43 batch_size: 1,
44 fake: false,
45 }
46 }
47}