biolic 0.1.0

A modular bioinformatics toolkit in Rust for long-read sequence processing
Documentation
//! `biolic head`: extract first N reads or bases.
//!
//! STATUS: STUB. See Section 5.7 of biolic_plan.md.

use std::path::PathBuf;

use anyhow::{anyhow, Result};
use clap::Args;

use crate::cli::RunContext;

#[derive(Args, Debug)]
pub struct HeadArgs {
    pub input: PathBuf,
    #[arg(short = 'n', long, default_value = "10")]
    pub reads: Option<u64>,
    #[arg(long)]
    pub bases: Option<String>,
}

pub fn run(_args: HeadArgs, _ctx: &RunContext) -> Result<()> {
    Err(anyhow!(
        "biolic head is not yet implemented. See Section 5.7."
    ))
}