fastx

Crates.iofastx
lib.rsfastx
version0.2.1
sourcesrc
created_at2021-06-30 11:50:31.313835
updated_at2024-01-21 01:34:13.963998
descriptionFastX reads Fasta and FastQ files with little overhead.
homepage
repositoryhttps://github.com/ahcm/fastx
max_upload_size
id416798
size38,819
Andreas Hauser (ahcm)

documentation

README

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


Commit count: 20

cargo fmt