Skip to main content

open_fasta_for_reference

Function open_fasta_for_reference 

Source
pub fn open_fasta_for_reference(
    path: impl AsRef<Path>,
) -> Result<FastaReader<Box<dyn Read + Send>>>
Expand description

Open a FASTA reference genome with parser settings tuned for long records.

This uses the same raw/gzip/BGZF transport detection as open_fasta, but lowers records per batch and increases I/O buffering and sequence preallocation hints for chromosome-scale records.