[][src]Function seq_io::fastx::dynamic::from_path

pub fn from_path<'s, P>(
    path: P,
    multiline_fastq: bool
) -> Result<Option<Box<dyn FastxSeekReader<File, StdPolicy, LineStore> + 's>>> where
    P: AsRef<Path> + 's, 

Recognizes the sequence format of the file and returns an appropriate FASTA or FASTQ reader as Box<dyn FastxSeekReader<...> or None if the input has only empty lines. See reader for more information about the behaviour.