#include <fastq-trim.h>
-lfastq-trim
int fastq_trim_set_phred_base(fastq_trim_t *fastq_trim_ptr, unsigned
new_phred_base)
fastq_trim_ptr Pointer to the structure to set
new_phred_base The new value for phred_base
Mutator for phred_base member in a fastq_trim_t structure. Use this function to
set phred_base in a fastq_trim_t variable from non-member functions. This
function performs a direct assignment for scalar or pointer structure members.
If phred_base is a pointer, data previously pointed to should generally be
freed before calling this function to avoid memory leaks.
Note that there is an equivalent macro (), which performs this
function with no data verification or function call overhead. Use the macro
version to maximize performance where the validity of new_phred_base 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;
unsigned new_phred_base;
if ( fastq_trim_set_phred_base(&fastq_trim, new_phred_base) == FASTQ_TRIM_DATA_OK )
{
}