use std::path::PathBuf;
use anyhow::Result;
use clap::Args;
#[derive(Args)]
pub struct ExtractArgs {
pub input: PathBuf,
#[arg(long, default_value = "GRCh38")]
pub r#ref: String,
#[arg(short, long)]
pub output: Option<PathBuf>,
#[arg(long)]
pub region: Option<String>,
#[arg(long, default_value = "20")]
pub min_quality: u8,
#[arg(long, default_value = "8")]
pub min_depth: u32,
#[arg(long)]
pub report: Option<PathBuf>,
}
impl ExtractArgs {
pub async fn run(self) -> Result<()> {
eprintln!("Extract command is not yet implemented.");
eprintln!("This will stream CRAM/BAM files and call variants.");
Ok(())
}
}