home | help
bl_fastx_qual(3)	    Library Functions Manual		bl_fastx_qual(3)

NAME
     bl_fastx_qual() - Return FASTQ quality line, NULL if FASTA

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

SYNOPSIS
     char    *bl_fastx_qual(bl_fastx_t *record)

ARGUMENTS
     record  Pointer to the bl_fastx_t structure

DESCRIPTION
     Return  a pointer to the qual string of a FASTQ record.  The record must be
     initialized with bl_fastx_init(3)	and  populated	by  bl_fastx_read(3)  or
     other  means.   If  the  format if the FASTX  stream is FASTA, a warning is
     generated and NULL is returned.  Previously used variables may be reused to
     process another record in the same format (FASTA or FASTQ) or reinitialized
     by bl_fastx_free(3);

RETURN VALUES
     Pointer to the qual string

EXAMPLES
     bl_fastx_t  record = BL_FASTX_INIT;

     bl_fastx_init(stdin, &record);
     bl_fastx_read(stdin, &record);
     printf("Qual string = %sn", bl_fastx_qual(&record));
     bl_fastx_free(&record);

SEE ALSO
     bl_fastx_init(3), bl_fastx_read(3), bl_fastx_write(3), bl_fastx_free(3)

								bl_fastx_qual(3)

home | help