bl_fastq_set_seq(3)

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

SYNOPSIS

int     bl_fastq_set_seq(bl_fastq_t *bl_fastq_ptr, char * new_seq)

ARGUMENTS
bl_fastq_ptr    Pointer to the structure to set
new_seq         The new value for seq

DESCRIPTION
Mutator for seq member in a bl_fastq_t structure. Use this function to set seq in a bl_fastq_t variable from non-member functions. This function performs a direct assignment for scalar or pointer structure members. If seq 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_seq is guaranteed by other means.

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

SEE ALSO
(3)