![]() |
![]()
| ![]() |
![]()
NAMEbl_fasta_write() - Write a FASTA object LIBRARY#include <biolibc/fasta.h> -lbiolibc -lxtend SYNOPSISint bl_fasta_write(bl_fasta_t *record, FILE *fasta_stream, size_t max_line_len) ARGUMENTSfasta_stream FILE stream to which data are written record Pointer to a bl_fasta_t structure to be written max_line_len Maximum length of a sequence line in output DESCRIPTIONWrite a FASTA record to the specified FILE stream, writing at most max_line_len sequence characters per line. The special value BL_FASTA_LINE_UNLIMITED indicates no line length limit. RETURN VALUESBL_WRITE_OK upon success, BL_WRITE_FAILURE if a write error occurs. EXAMPLESbl_fasta_t rec = BL_FASTA_INIT; while ( bl_fasta_read(stdin, &rec) != BL_READ_EOF ) SEE ALSObl_fasta_read(3), bl_fastq_read(3), bl_fastq_write(3),
|