#include <fastq-trim.h>
-lfastq-trim
int fastq_trim_set_adapter2_ae(fastq_trim_t *fastq_trim_ptr, size_t c, char
new_adapter2_element)
fastq_trim_ptr Pointer to the structure to set
c Subscript to the adapter2 array
new_adapter2_element The new value for adapter2[c]
Mutator for an array element of adapter2 member in a fastq_trim_t structure. Use
this function to set an element of the array adapter2 in a fastq_trim_t
variable from non-member functions.
Note that there is an equivalent macro
FASTQ_TRIM_SET_ADAPTER2_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_adapter2_element is guaranteed by
other means.
FASTQ_TRIM_DATA_OK if the new value is acceptable and assigned
FASTQ_TRIM_DATA_OUT_OF_RANGE otherwise
fastq_trim_t fastq_trim;
size_t c;
char * new_adapter2_element;
if ( fastq_trim_set_adapter2(&fastq_trim, c, new_adapter2_element) == FASTQ_TRIM_DATA_OK )
{
}
FASTQ_TRIM_SET_ADAPTER2_AE(3)