Skip to main content

open_fasta

Function open_fasta 

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

Open a FASTA file with default configuration.

With default features, this opens raw FASTA. Enabling gzip and/or bgzf adds file-magic transport detection. BGZF is checked before ordinary gzip when both features are enabled.