|
| BackTranslatingAlignmentEmitter (const NamedNodeBackTranslation *translation, unique_ptr< AlignmentEmitter > &&backing) |
|
virtual void | emit_singles (vector< Alignment > &&aln_batch) |
| Emit a batch of Alignments. More...
|
|
virtual void | emit_mapped_singles (vector< vector< Alignment >> &&alns_batch) |
| Emit batch of Alignments with secondaries. All secondaries must have is_secondary set already. More...
|
|
virtual void | emit_pairs (vector< Alignment > &&aln1_batch, vector< Alignment > &&aln2_batch, vector< int64_t > &&tlen_limit_batch) |
|
virtual void | emit_mapped_pairs (vector< vector< Alignment >> &&alns1_batch, vector< vector< Alignment >> &&alns2_batch, vector< int64_t > &&tlen_limit_batch) |
|
virtual void | emit_extra_message (const std::string &tag, std::string &&data) |
| Emit some extra type-tagged data, if the backing format supports it. More...
|
|
virtual void | emit_single (Alignment &&aln) |
| Emit a single Alignment. More...
|
|
virtual void | emit_mapped_single (vector< Alignment > &&alns) |
| Emit a single Alignment with secondaries. All secondaries must have is_secondary set already. More...
|
|
virtual void | emit_pair (Alignment &&aln1, Alignment &&aln2, int64_t tlen_limit=0) |
|
virtual void | emit_mapped_pair (vector< Alignment > &&alns1, vector< Alignment > &&alns2, int64_t tlen_limit=0) |
|
virtual | ~AlignmentEmitter ()=default |
| Allow destruction through base class pointer. More...
|
|
An AlignmentEmitter implementation that translates alignments into named-segment space coordinates before emitting them via a backing AlignmentEmitter, which it owns.
void vg::BackTranslatingAlignmentEmitter::emit_mapped_pairs |
( |
vector< vector< Alignment >> && |
alns1_batch, |
|
|
vector< vector< Alignment >> && |
alns2_batch, |
|
|
vector< int64_t > && |
tlen_limit_batch |
|
) |
| |
|
virtual |
Emit the mappings of a batch of pairs of Alignments. All secondaries must have is_secondary set already. The tlen_limit_batch, if specified, is the maximum pairing distance for each pair to flag properly paired, if the output format cares about such things. TODO: Move to a properly paired annotation that runs with the Alignment.
Both ends of each pair must have the same number of mappings.
Implements vg::io::AlignmentEmitter.