1#ifndef MINIMAC4_INPUT_PREP_HPP
2#define MINIMAC4_INPUT_PREP_HPP
6#include <savvy/reader.hpp>
26bool stat_tar_panel(
const std::string& tar_file_path, std::vector<std::string>& sample_ids);
106bool stat_ref_panel(
const std::string& ref_file_path, std::string& chrom, std::uint64_t& end_pos);
153bool load_target_haplotypes(
const std::string& file_path,
const savvy::genomic_region& reg, std::vector<target_variant>& target_sites, std::vector<std::string>& sample_ids);
191 const savvy::genomic_region& extended_reg,
192 const savvy::genomic_region& impute_reg,
193 const std::unordered_set<std::string>& subset_ids,
194 std::vector<target_variant>& target_sites,
199 float default_match_error);
242 const savvy::genomic_region& extended_reg,
243 const savvy::genomic_region& impute_reg,
244 const std::unordered_set<std::string>& subset_ids,
245 std::vector<target_variant>& target_sites,
383bool convert_old_m3vcf(
const std::string& input_path,
const std::string& output_path,
const std::string& map_file_path =
"");
415 std::size_t min_block_size = 10,
416 std::size_t max_block_size = 0xFFFF,
417 std::size_t slope_unit = 10,
418 const std::string& map_file_path =
"");
A reader and interpolator for genetic map files.
Definition recombination.hpp:211
Represents a collection of haplotype blocks with reduced storage.
Definition unique_haplotype.hpp:339