pub fn from_file<P: AsRef<Path> + std::fmt::Debug>(
        path: P,
        fileformat: GffType,
    ) -> anyhow::Result<Self> {
        fs::File::open(&path)
            .map(|f| Reader::new(f, fileformat))
            .with_context(|| format!("Failed to read GFF from {:#?}", path))
    }
/// Read GFF from given file path in given format.
Read GFF from given file path in given format.
Read GFF from given file path in given format .
pub fn from_file<P: AsRef<Path> + std::fmt::Debug>(
        path: P,
        fileformat: GffType,
    ) -> anyhow::Result<Self> {
        fs::File::open(&path)
            .map(|f| Reader::new(f, fileformat))
            .with_context(|| format!("Failed to read GFF from {:#?}", path))
    }
pub fn from_file < P : AsRef < Path > + std :: fmt :: Debug > ( path : P , fileformat : GffType , ) -> anyhow :: Result < Self > { fs :: File :: open ( & path ) . map ( | f | Reader :: new ( f , fileformat ) ) . with_context ( | | format ! ( " " path ) ) }
Read GFF from given file path in given format.
Read GFF from given file path in given format .
path
P
fileformat
GffType
path
P
fileformat
GffType