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

NAME
     bl_fastq_write() - Write a FASTQ record

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

SYNOPSIS
     int     bl_fastq_write(bl_fastq_t *record, FILE *fastq_stream,
     size_t max_line_len)

ARGUMENTS
     fastq_stream    FILE stream to which data are written
     record	     Pointer to a bl_fastq_t structure to be written
     max_line_len    Maximum length of a sequence line in output

DESCRIPTION
     Write  a  FASTQ  record  to  the  specified  FILE	stream,  writing at most
     max_line_len   sequence   characters   per   line.    The	 special   value
     BL_FASTQ_LINE_UNLIMITED indicates no line length limit.

RETURN VALUES
     BL_WRITE_OK upon success, BL_WRITE_FAILURE if a write error occurs.

EXAMPLES
     bl_fastq_t  rec = BL_FASTQ_INIT;

     while ( bl_fastq_read(stdin, &rec) != BL_READ_EOF )
	 bl_fastq_write(stdout, &rec, BL_FASTQ_LINE_UNLIMITED);
     bl_fastq_free(&rec);

SEE ALSO
     bl_fastq_read(3), bl_fastq_read(3), bl_fastq_write(3),

							       bl_fastq_write(3)

home | help