#include <biolibc/fastq.h>
-lbiolibc -lxtend
int bl_fastq_set_seq_ae(
bl_fastq_t *bl_fastq_ptr,
size_t c,
char new_seq_element
)
bl_fastq_ptr Pointer to the structure to set
c Subscript to the seq array
new_seq_element The new value for seq[c]
Mutator for an array element of seq member in a bl_fastq_t structure. Use this
function to set bl_fastq_ptr->seq[c] in a bl_fastq_t object from non-member
functions.
BL_FASTQ_DATA_OK if the new value is acceptable and assigned
BL_FASTQ_DATA_OUT_OF_RANGE otherwise
bl_fastq_t bl_fastq;
size_t c;
char * new_seq_element;
if ( bl_fastq_set_seq_ae(&bl_fastq, c, new_seq_element)
== BL_FASTQ_DATA_OK )
{
}