fibertools_rs/cli/center_opts.rs
1use crate::utils::input_bam::InputBam;
2use clap::Args;
3use std::fmt::Debug;
4
5#[derive(Args, Debug)]
6pub struct CenterOptions {
7 #[clap(flatten)]
8 pub input: InputBam,
9 /// Bed file on which to center fiberseq reads. Data is adjusted to the start position of the bed file and corrected for strand if the strand is indicated in the 6th column of the bed file. The 4th column will also be checked for the strand but only after the 6th is.
10 /// If you include strand information in the 4th (or 6th) column it will orient data accordingly and use the end position of bed record instead of the start if on the minus strand. This means that profiles of motifs in both the forward and minus orientation will align to the same central position.
11 #[clap(short, long)]
12 pub bed: String,
13 /// Set a maximum distance from the start of the motif to keep a feature
14 #[clap(short, long)]
15 pub dist: Option<i64>,
16 /// Provide data in wide format, one row per read
17 #[clap(short, long)]
18 pub wide: bool,
19 /// Return relative reference position instead of relative molecular position
20 #[clap(short, long)]
21 pub reference: bool,
22 /// Replace the sequence output column with just "N".
23 #[clap(short, long)]
24 pub simplify: bool,
25}