fq_filter_reads/
cli.rs

1pub use clap::Parser;
2
3/// Retaining fastq records with the given ID
4#[derive(Parser, Debug)]
5#[clap(author, version, about, long_about = None)]
6pub struct Command {
7    /// input fastq file path  
8    #[clap(long, value_parser)]
9    pub in_fastq: String,
10
11    ///  input id list file, one per line
12    #[clap(long, value_parser)]
13    pub in_id_list: String,
14
15    /// only keep reads with ids NOT in the given id list
16    /// i.e. removing any records with id in the id list
17    #[clap(long, action)]
18    pub inverse: bool,
19}