Skip to main content

cyto_cli/ibu/
mod.rs

1mod cat;
2mod count;
3mod input;
4mod reads;
5mod sort;
6mod umi;
7mod view;
8
9pub use cat::ArgsCat;
10pub use count::ArgsCount;
11pub use input::{IbuInput, MultiIbuInput};
12pub use reads::ArgsReads;
13pub use sort::ArgsSort;
14pub use umi::ArgsUmi;
15pub use view::ArgsView;
16
17/// Perform operations on an IBU library
18#[derive(clap::Subcommand, Debug)]
19pub enum IbuCommand {
20    /// View the contents of an IBU library as plain text
21    View(ArgsView),
22
23    /// Concatenate the contents of multiple IBU libraries
24    Cat(ArgsCat),
25
26    /// Sort the contents of an IBU library
27    Sort(ArgsSort),
28
29    /// Create barcode-index count matrix from an IBU library
30    Count(ArgsCount),
31
32    /// Correct UMI errors in an IBU library
33    ///
34    /// Expects a sorted IBU library as input
35    Umi(ArgsUmi),
36
37    /// Determine number of reads and UMIs per barcode
38    Reads(ArgsReads),
39}