2 * This file is part of fastq-tools.
4 * Copyright (c) 2011 by Daniel C. Jones <dcjones@cs.washington.edu>
7 * A parser for FASTQ files.
9 * This parser is mostly derivative of Heng Li's.
10 * See: http://lh3lh3.users.sourceforge.net/kseq.shtml
14 #ifndef FASTQ_TOOLS_PARSE_H
15 #define FASTQ_TOOLS_PARSE_H
23 char* s; /* null-terminated string */
24 size_t n; /* length of s */
25 size_t size; /* bytes allocated for s */
39 seq_t* fastq_alloc_seq();
40 void fastq_free_seq(seq_t*);
52 fastq_t* fastq_open(FILE*);
53 void fastq_close(fastq_t*);
54 int fastq_next(fastq_t*, seq_t*);