5 unstable releases
0.3.0 | Feb 17, 2025 |
---|---|
0.2.1 | Jan 21, 2024 |
0.2.0 | Jan 17, 2023 |
0.1.1 | Dec 10, 2022 |
0.1.0 | Jun 30, 2021 |
#265 in Biology
40 downloads per month
Used in lrdf
17KB
447 lines
FastX
FastX implements low overhead readers for Fasta and FastQ. Version 0.3.0 add .gz support.
let mut fastx_reader = FastX::reader_from_path(Path::new(&filename))?;
let mut fastx_record = FastX::from_reader(&mut fastx_reader)?;
while let Ok(_some @ 1..=usize::MAX) = fastx_record.read(&mut fastx_reader)
{
println!("{}\t{}", fastx_record.id(), fastx_record.seq_len())
}
Dependencies
~1.2–1.8MB
~32K SLoC