GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
bl_fastx_read(3) FreeBSD Library Functions Manual bl_fastx_read(3)

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

int bl_fastx_read(bl_fastx_t *record, FILE *fastx_stream)

fastx_stream    FILE stream from which FASTA data are read
record          Pointer to a bl_fastx_t structure to receive data

Read a FASTA or FASTQ record from a FILE stream by calling bl_read_fasta(3) or bl_read_fastq(3). The bl_fastx_t structure must first be initialized by assigning it BL_FASTX_INIT and calling bl_fastx_init(3). See bl_fasta_read(3) and bl_fastq_read(3) for further details.

BL_READ_OK upon successful read of description and sequence BL_READ_BAD_DATA if something is amiss with input format BL_READ_EOF if no more data are available

bl_fastx_t  rec = BL_FASTX_INIT;
bl_fastx_init(stdin, &rec);
while ( bl_fastx_read(stdin, &rec) != BL_READ_EOF )
    bl_fastx_write(stdout, &rec, BL_FASTX_LINE_UNLIMITED);
bl_fastx_free(&rec);

bl_fastx_write(3), bl_fastq_read(3), bl_fastq_write(3), bl_fastx_free(3)


Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.