fibertools_rs/cli/
extract_opts.rs1use crate::utils::input_bam::InputBam;
2use clap::Args;
3use std::fmt::Debug;
4
5#[derive(Args, Debug)]
6pub struct ExtractOptions {
7 #[clap(flatten)]
8 pub input: InputBam,
9 #[clap(short, long, default_value = "true",
11 default_value_ifs([
12 ("molecular", "true", "false"),
13 ("molecular", "false", "true"),
14 ]))
15 ]
16 pub reference: bool,
17 #[clap(long, default_value = "false")]
19 pub molecular: bool,
20 #[clap(long)]
22 pub m6a: Option<String>,
23 #[clap(short, long)]
25 pub cpg: Option<String>,
26 #[clap(long)]
28 pub msp: Option<String>,
29 #[clap(short, long)]
31 pub nuc: Option<String>,
32 #[clap(short, long)]
34 pub all: Option<String>,
35 #[clap(short, long, help_heading = "All-Format-Options")]
37 pub quality: bool,
38 #[clap(short, long, help_heading = "All-Format-Options")]
40 pub simplify: bool,
41}