pub fn write_all<'a, P, I>(path: P, records: I) -> Result<()>Expand description
Write records to a file, inferring format and compression from the path.
let records = vec![fastx::Sequence::fasta("a", b"ACGT")];
fastx::write_all("out.fa", &records)?;