xsra 0.2.29

A performant and storage-efficient CLI tool to extract sequences from an SRA archive with support for FASTA, FASTQ, and BINSEQ outputs.
Documentation
1
2
3
4
5
6
7
use anyhow::Result;
use ncbi_vdb_sys::SraReader;

pub fn get_num_records(path: &str) -> Result<u64> {
    let reader = SraReader::new(path)?;
    Ok(reader.stop())
}