|
| VariantBuilderIndividualRegion (const VariantHeader &header, const bool enable_validation) |
|
| VariantBuilderIndividualRegion (VariantBuilderIndividualRegion &&other)=default |
|
VariantBuilderIndividualRegion & | operator= (VariantBuilderIndividualRegion &&other)=default |
|
| VariantBuilderIndividualRegion (const VariantBuilderIndividualRegion &other)=delete |
|
VariantBuilderIndividualRegion & | operator= (const VariantBuilderIndividualRegion &other)=delete |
|
| ~VariantBuilderIndividualRegion ()=default |
|
void | set_enable_validation (const bool enable_validation) |
|
int32_t | gt_index () const |
|
uint32_t | num_present_fields () const |
|
bool | modified () const |
|
template<class FIELD_ID_TYPE , class BULK_FIELD_VALUES_TYPE > |
void | bulk_set_genotype_field (const FIELD_ID_TYPE &field_id, BULK_FIELD_VALUES_TYPE &&field_values) |
|
template<class FIELD_ID_TYPE , class BULK_FIELD_VALUES_TYPE > |
void | bulk_set_integer_field (const FIELD_ID_TYPE &field_id, BULK_FIELD_VALUES_TYPE &&field_values) |
|
template<class FIELD_ID_TYPE , class BULK_FIELD_VALUES_TYPE > |
void | bulk_set_float_field (const FIELD_ID_TYPE &field_id, BULK_FIELD_VALUES_TYPE &&field_values) |
|
template<class FIELD_ID_TYPE , class BULK_FIELD_VALUES_TYPE > |
void | bulk_set_string_field (const FIELD_ID_TYPE &field_id, BULK_FIELD_VALUES_TYPE &&field_values) |
|
template<class FIELD_ID_TYPE , class SAMPLE_ID_TYPE , class FIELD_VALUE_TYPE > |
void | set_genotype_field_by_sample (const FIELD_ID_TYPE &field_id, const SAMPLE_ID_TYPE &sample_id, const FIELD_VALUE_TYPE *field_values, const uint32_t num_field_values) |
|
template<class FIELD_ID_TYPE , class SAMPLE_ID_TYPE , class FIELD_VALUE_TYPE > |
void | set_integer_field_by_sample (const FIELD_ID_TYPE &field_id, const SAMPLE_ID_TYPE &sample_id, const FIELD_VALUE_TYPE *field_values, const uint32_t num_field_values) |
|
template<class FIELD_ID_TYPE , class SAMPLE_ID_TYPE , class FIELD_VALUE_TYPE > |
void | set_float_field_by_sample (const FIELD_ID_TYPE &field_id, const SAMPLE_ID_TYPE &sample_id, const FIELD_VALUE_TYPE *field_values, const uint32_t num_field_values) |
|
template<class FIELD_ID_TYPE , class SAMPLE_ID_TYPE , class FIELD_VALUE_TYPE > |
void | set_string_field_by_sample (const FIELD_ID_TYPE &field_id, const SAMPLE_ID_TYPE &sample_id, const FIELD_VALUE_TYPE *field_values, const uint32_t num_field_values) |
|
template<class FIELD_ID_TYPE > |
void | remove_individual_field (const FIELD_ID_TYPE &field_id) |
|
uint32_t | estimate_total_size () const |
| Produce a slight overestimate of the total size of the encoded data for this individual region. More...
|
|
void | encode_into (kstring_t *buffer) const |
| Encode all individual fields into the provided byte buffer in the proper order and format for final insertion into a Variant object. More...
|
|
void | clear () |
| Reset the individual region to a pristine state with no field data. More...
|
|
Helper class for VariantBuilder to manage the fields belonging to the individual region of Variant records.
The individual region includes the various kinds of FORMAT fields. This class manages the validation and bookkeeping, but not the encoding and storage, of these fields. The storage/encoding for each field is handled by the lower-level VariantBuilderIndividualField class.