mod run_profile

module run_profile

Strict, versioned configuration for complete rsx command invocations.

Enums

enum CommandProfile
Process(ProcessProfile)
Distrib(DistribProfile)
Signif(SignifProfile)
Triage(TriageProfile)
Freq(FreqProfile)
Depth(DepthProfile)
Map(MapProfile)
Subset(SubsetProfile)
Merge(MergeProfile)
Pca(PcaProfile)
enum RunProfileError
Parse(toml::de::Error)
Encode(toml::ser::Error)
UnsupportedSchema(u32)
EmptyProfileName

Traits implemented

impl Display for RunProfileError
impl Error for RunProfileError
impl From<toml::de::Error> for RunProfileError
impl From<toml::ser::Error> for RunProfileError
enum StreamingMode
Auto
Memory
Streaming

Implementations

impl StreamingMode

Functions

const fn as_str(self) -> &'static str

Structs and Unions

struct DepthProfile
markers_table: String
popmap: String
output_file: String
min_frequency: f32
streaming_mode: StreamingMode
streaming_threshold_bytes: u64
struct DistribProfile
markers_table: String
popmap: String
output_file: String
min_depth: u16
groups: Option<Vec<String>>
signif_threshold: f32
disable_correction: bool
correction: String
test_method: String
output_bayes: bool
bayes_model: ModelProfile
struct FreqProfile
markers_table: String
output_file: String
min_depth: u16
struct MapProfile
markers_file: String
output_file: String
popmap: String
genome_file: String
min_depth: u16
groups: Option<Vec<String>>
min_quality: u32
min_frequency: f32
signif_threshold: f32
disable_correction: bool
struct MergeProfile
input_files: Vec<String>
output_file: String
buffer_size: usize
output_parquet: bool
struct PcaProfile
markers_table: String
output_dir: String
min_depth: u16
components: Option<usize>
struct ProcessProfile
input_dir: String
output_file: String
threads: u32
min_depth: u16
kmer_dedup: Option<usize>
struct RunProfile
schema_version: u32
profile_name: String
reproducibility_archive: Option<String>
write_hydrated_profile: Option<String>
run: CommandProfile

Implementations

impl RunProfile

Functions

fn command_name(&self) -> &'static str
fn parse_toml(input: &str) -> Result<Self, RunProfileError>
fn to_toml(&self) -> Result<String, RunProfileError>
struct SignifProfile
markers_table: String
popmap: String
output_file: String
min_depth: u16
groups: Option<Vec<String>>
signif_threshold: f32
correction: String
test_method: String
backend: String
output_fasta: bool
output_bayes: bool
bayes_model: ModelProfile
struct SubsetProfile
markers_table: String
popmap: String
output_file: String
min_depth: u16
groups: Option<Vec<String>>
signif_threshold: f32
disable_correction: bool
output_fasta: bool
min_group1: u32
min_group2: u32
max_group1: u32
max_group2: u32
min_individuals: u32
max_individuals: u32
struct TriageProfile
markers_table: String
popmap: String
output_file: String
min_depth: u16
groups: Option<Vec<String>>
signif_threshold: f32
posterior_threshold: f64
bayes_factor_threshold: f64
bayes_model: ModelProfile