SamHeaderMerger

Class encapsulating functionality of merging several SAM headers into one. (In fact, its role is to just group several variables, so it could be replaced by a function returning a struct.)

Constructors

this
this(SamHeader[] headers, bool validate_headers)

Takes array of SAM headers as an input.

Members

Enums

Strategy
enum Strategy
Undocumented in source.

Variables

merged_header
SamHeader merged_header;

The main result of merging -- new SamHeader

program_id_map
string[string][] program_id_map;

the same for program record identifiers

readgroup_id_map
string[string][] readgroup_id_map;

the same for read group identifiers

ref_id_map
size_t[size_t][] ref_id_map;

Map: index of SamHeader in input array of headers -> old refID -> new refID

ref_id_reverse_map
size_t[size_t][] ref_id_reverse_map;

Map: index of SamHeader in input array of headers -> new refID -> old refID

strategy
Strategy strategy;
Undocumented in source.

Meta