fastx

Crates.iofastx
lib.rsfastx
version0.4.0
created_at2021-06-30 11:50:31.313835+00
updated_at2025-05-29 17:02:28.786925+00
descriptionFastX reads Fasta and FastQ files with little overhead.
homepage
repositoryhttps://github.com/ahcm/fastx
max_upload_size
id416798
size44,830
Andreas Hauser (ahcm)

documentation

README

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())
}


Commit count: 27

cargo fmt