4 releases

0.2.1 Jan 21, 2024
0.2.0 Jan 17, 2023
0.1.1 Dec 10, 2022
0.1.0 Jun 30, 2021

#107 in Biology

45 downloads per month
Used in lrdf

CC-BY-SA-4.0

16KB
436 lines

FastX

FastX implements low overhead readers for Fasta and FastQ.

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

~170–310KB