Function open_fasta

Source
pub fn open_fasta(seqs_url: &Url) -> Result<Reader>
Expand description

Function to open a FASTA file from a URL and cache its contents locally.

§Arguments

  • seqs_url - A reference to a URL object representing the sequence file URL.

§Returns

A Reader object representing the opened FASTA file.

§Errors

This function returns an error if the FASTA file cannot be opened.

§Panics

This function panics if the URL scheme is not recognized.