|
vg
tools for working with variation graphs
|
#include <sorted_vcf_writer.hpp>
Public Member Functions | |
| bool | operator< (const BufferedRecordKey &other) const |
Public Attributes | |
| string | contig |
| size_t | position = 0 |
| string | id |
| The ID column. More... | |
| size_t | block = 0 |
The sort key of a buffered VCF record.
Several records can share a contig and POS, such as a nested site and its parent. The sort is not stable, so the output order is the same on every run only if the records at one POS differ in ID or block number.
| bool vg::SortedVCFWriter::BufferedRecordKey::operator< | ( | const BufferedRecordKey & | other | ) | const |
Return true if this key sorts before other, comparing contig, then POS, then ID, then block number.
| size_t vg::SortedVCFWriter::BufferedRecordKey::block = 0 |
The number of the difference block of its snarl that the record holds, or 0 for a record of a whole snarl. Two blocks of one snarl share an ID and can share a POS.
| string vg::SortedVCFWriter::BufferedRecordKey::contig |
| string vg::SortedVCFWriter::BufferedRecordKey::id |
The ID column.
| size_t vg::SortedVCFWriter::BufferedRecordKey::position = 0 |
1.9.1