GLnexus
Scalable datastore for population genome sequencing, with on-demand joint genotyping
 All Classes Functions Variables
service_config.h
1 #pragma once
2 
3 #include <types.h>
4 #include <string>
5 
6 namespace GLnexus {
7 
8 enum class GLnexusOutputFormat {
10  BCF,
11 
13  VCF,
14 };
17  size_t required_dp = 0;
18 
20  std::string allele_dp_format = "AD";
21 
23  std::string ref_symbolic_allele = "<NON_REF>";
24 
26  std::string ref_dp_format = "MIN_DP";
27 
29  GLnexusOutputFormat output_format = GLnexusOutputFormat::BCF;
30 
31  // Should the genotyper write a record describing each call loss?
32  // If true, the output is recorded in YAML format in the
33  // [residuals_file].
34  bool output_residuals = false;
35  std::string residuals_file = "/tmp/residuals.yml";
36 
37  genotyper_config() = default;
38 
39  genotyper_config(GLnexusOutputFormat _output_format) : output_format(_output_format) {}
40 };
41 
42 }
GLnexusOutputFormat output_format
Output format (default = bcf), choices = "BCF", "VCF".
Definition: service_config.h:29
std::string ref_dp_format
FORMAT field to consult for reference depth in gVCF reference records.
Definition: service_config.h:26
Definition: service_config.h:15
size_t required_dp
Require any allele call to be supported by at least this depth.
Definition: service_config.h:17
std::string allele_dp_format
FORMAT field to consult for per-allele depth in VCF records.
Definition: service_config.h:20
std::string ref_symbolic_allele
The symbolic allele used in gVCF reference confidence models.
Definition: service_config.h:23