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