bl_fastq_set_seq_ae(3)

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

SYNOPSIS

int     bl_fastq_set_seq_ae(bl_fastq_t *bl_fastq_ptr, size_t c, char  new_seq_element)

ARGUMENTS
bl_fastq_ptr    Pointer to the structure to set
c               Subscript to the seq array
new_seq_element The new value for seq[c]

DESCRIPTION
Mutator for an array element of seq member in a bl_fastq_t structure. Use this function to set an element of the array seq in a bl_fastq_t variable from non-member functions. Note that there is an equivalent macro BL_FASTQ_SET_SEQ_AE(), which performs this function with no data verification or function call overhead. Use the macro version to maximize performance where the validity of new_seq_element is guaranteed by other means.

EXAMPLES
bl_fastq_t      bl_fastq;
size_t          c;
char *          new_seq_element;
if ( bl_fastq_set_seq(&bl_fastq, c, new_seq_element) == BL_DATA_OK )
{
}

SEE ALSO
BL_FASTQ_SET_SEQ_AE(3)