Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

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

NAME
       bl_fastx_plus_len() - Return length of FASTQ '+'	line, 0	if FASTA

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

SYNOPSIS
       size_t  bl_fastx_plus_len(bl_fastx_t *record)

ARGUMENTS
       record  Pointer to the bl_fastx_t structure

DESCRIPTION
       Return  the  length of the + 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  0  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
       Length of the + string

EXAMPLES
       bl_fastx_t  record = BL_FASTX_INIT;

       bl_fastx_init(stdin, &record);
       bl_fastx_read(stdin, &record);
       printf("+ string	length = %zun",	bl_fastx_plus_len(&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_plus_len(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=bl_fastx_plus_len&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>

home | help