#include <biolibc/vcf.h>
-lbiolibc -lxtend
int bl_vcf_set_chrom_ae(
bl_vcf_t *bl_vcf_ptr,
size_t c,
char new_chrom_element
)
bl_vcf_ptr Pointer to the structure to set
c Subscript to the chrom array
new_chrom_element The new value for chrom[c]
Mutator for an array element of chrom member in a bl_vcf_t structure. Use this
function to set bl_vcf_ptr->chrom[c] in a bl_vcf_t object from non-member
functions.
BL_VCF_DATA_OK if the new value is acceptable and assigned
BL_VCF_DATA_OUT_OF_RANGE otherwise
bl_vcf_t bl_vcf;
size_t c;
char new_chrom_element;
if ( bl_vcf_set_chrom_ae(&bl_vcf, c, new_chrom_element)
== BL_VCF_DATA_OK )
{
}