1 #ifndef GENESIS_POPULATION_STREAM_VARIANT_INPUT_STREAM_ADAPTERS_H_
2 #define GENESIS_POPULATION_STREAM_VARIANT_INPUT_STREAM_ADAPTERS_H_
49 #include <unordered_map>
53 namespace population {
74 VariantParallelInputStream
const& parallel_input,
75 VariantParallelInputStream::JoinedVariantParams
const& joined_variant_params = VariantParallelInputStream::JoinedVariantParams{}
88 VariantGaplessInputStream
const& gapless_input
113 std::shared_ptr<::genesis::sequence::ReferenceGenome> ref_genome
116 gapless_input.reference_genome( ref_genome );
129 std::shared_ptr<::genesis::sequence::SequenceDict> seq_dict
132 gapless_input.sequence_dict( seq_dict );
145 std::shared_ptr<GenomeLocusSet> genome_locus_set
148 gapless_input.genome_locus_set( genome_locus_set );
162 std::shared_ptr<::genesis::sequence::ReferenceGenome> ref_genome,
163 std::shared_ptr<GenomeLocusSet> genome_locus_set
166 gapless_input.reference_genome( ref_genome );
167 gapless_input.genome_locus_set( genome_locus_set );
181 std::shared_ptr<::genesis::sequence::SequenceDict> seq_dict,
182 std::shared_ptr<GenomeLocusSet> genome_locus_set
185 gapless_input.sequence_dict( seq_dict );
186 gapless_input.genome_locus_set( genome_locus_set );
207 std::unordered_map<std::string, std::string>
const& sample_name_to_group,
208 bool allow_ungrouped_samples =
false,
215 #endif // include guard