aboutsummaryrefslogtreecommitdiff
path: root/include/libbio.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libbio.h')
-rw-r--r--include/libbio.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/libbio.h b/include/libbio.h
index 40ff2f9..b405810 100644
--- a/include/libbio.h
+++ b/include/libbio.h
@@ -32,6 +32,8 @@ error bio·writenewick(bio·Tree tree, io·Putter out, void*);
// Sequences
typedef struct bio·FastaReader bio·FastaReader;
+typedef struct bio·FastqReader bio·FastqReader;
+
typedef struct bio·Seq
{
int len;
@@ -43,3 +45,7 @@ typedef struct bio·Seq
bio·FastaReader *bio·openfasta(io·Reader stream, void *s, mem·Allocator heap, void *h);
error bio·readfasta(bio·FastaReader *rdr, bio·Seq *seq);
error bio·closefasta(bio·FastaReader *rdr);
+
+bio·FastqReader *bio·openfastq(io·Reader stream, void *s, mem·Allocator heap, void *h);
+error bio·readfastq(bio·FastqReader *rdr, bio·Seq *seq);
+error bio·closefastq(bio·FastqReader *rdr);