pub enum BioinformaticsFileFormat {
Show 17 variants
FASTA,
FASTA_GZ,
FASTQ,
FASTQ_GZ,
SAM,
UBAM,
BAM,
CRAM,
VCF,
VCF_GZ,
BCF,
GFF,
GFF_GZ,
GFF_BGZ,
GTF,
GTF_GZ,
BED,
}
Expand description
Represents all of the supported bioinformatics file formats that can be detected by the extension of the filename.
Variants§
FASTA
A FASTA file.
FASTA_GZ
A Gzipped FASTA file.
FASTQ
A FASTQ file.
FASTQ_GZ
A Gzipped FASTQ file.
SAM
A SAM file.
UBAM
An unaligned BAM file.
BAM
A BAM file.
CRAM
A CRAM file.
VCF
A VCF file.
VCF_GZ
A Gzipped VCF file.
BCF
A BCF file.
GFF
A GFF file.
GFF_GZ
A Gzipped GFF file.
GFF_BGZ
A block-gzipped GFF file.
GTF
A GTF file.
GTF_GZ
A Gzipped GTF file.
BED
A BED file.
Implementations§
Source§impl BioinformaticsFileFormat
impl BioinformaticsFileFormat
Sourcepub fn try_detect(
filepath: impl Into<PathBuf>,
) -> Option<BioinformaticsFileFormat>
pub fn try_detect( filepath: impl Into<PathBuf>, ) -> Option<BioinformaticsFileFormat>
Tries to detect a bioinformatics file format from the extension of the
provided filepath
.
Trait Implementations§
Source§impl Debug for BioinformaticsFileFormat
impl Debug for BioinformaticsFileFormat
Source§impl Display for BioinformaticsFileFormat
impl Display for BioinformaticsFileFormat
Source§impl PartialEq for BioinformaticsFileFormat
impl PartialEq for BioinformaticsFileFormat
impl Eq for BioinformaticsFileFormat
impl StructuralPartialEq for BioinformaticsFileFormat
Auto Trait Implementations§
impl Freeze for BioinformaticsFileFormat
impl RefUnwindSafe for BioinformaticsFileFormat
impl Send for BioinformaticsFileFormat
impl Sync for BioinformaticsFileFormat
impl Unpin for BioinformaticsFileFormat
impl UnwindSafe for BioinformaticsFileFormat
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more