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.
11 #ifndef FASTQ_TOOLS_PARSE_H
12 #define FASTQ_TOOLS_PARSE_H
20 char* s; /* null-terminated string */
21 size_t n; /* length of s */
22 size_t size; /* bytes allocated for s */
36 seq_t* fastq_alloc_seq();
37 void fastq_free_seq(seq_t*);
49 fastq_t* fastq_open(FILE*);
50 void fastq_close(fastq_t*);
51 int fastq_next(fastq_t*, seq_t*);
52 void fastq_rewind(fastq_t*);
54 void fastq_print(FILE* fout, seq_t* seq);