bl_sam_set_cigar_ae(3)

LIBRARY
#include <biolibc/sam.h>
-lbiolibc -lxtend

SYNOPSIS
int     bl_sam_set_cigar_ae(bl_sam_t *bl_sam_ptr, size_t c, char  new_cigar_element)

ARGUMENTS
bl_sam_ptr      Pointer to the structure to set
c               Subscript to the cigar array
new_cigar_element The new value for cigar[c]

DESCRIPTION
Mutator for an array element of cigar member in a bl_sam_t structure. Use this function to set bl_sam_ptr->cigar[c] in a bl_sam_t object from non-member functions.

RETURN VALUES
BL_SAM_DATA_OK if the new value is acceptable and assigned BL_SAM_DATA_OUT_OF_RANGE otherwise

EXAMPLES
bl_sam_t        bl_sam;
size_t          c;
char *          new_cigar_element;
if ( bl_sam_set_cigar_ae(&bl_sam, c, new_cigar_element)
        == BL_SAM_DATA_OK )
{
}

SEE ALSO
BL_SAM_SET_CIGAR_AE(3)