Skip to main content

cyto_cli/ibu/
mod.rs

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