#include <biolibc/fastq.h>
-lbiolibc -lxtend
int bl_fastq_set_qual_ae(
bl_fastq_t *bl_fastq_ptr,
size_t c,
char new_qual_element
)
bl_fastq_ptr Pointer to the structure to set
c Subscript to the qual array
new_qual_element The new value for qual[c]
Mutator for an array element of qual member in a bl_fastq_t structure. Use this
function to set bl_fastq_ptr->qual[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_qual_element;
if ( bl_fastq_set_qual_ae(&bl_fastq, c, new_qual_element)
== BL_FASTQ_DATA_OK )
{
}