1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use serde::{Deserialize, Serialize};

/// A data format.
#[derive(Clone, Copy, Debug, Deserialize, Eq, PartialEq, Serialize)]
#[serde(rename_all = "UPPERCASE")]
pub enum Format {
    /// BAM.
    Bam,
    /// CRAM.
    Cram,
    /// VCF.
    Vcf,
    /// BCF.
    Bcf,
}