From 98375c9c5e4bf26f8d238666d7233177dba787eb Mon Sep 17 00:00:00 2001 From: Nicholas Noll Date: Sat, 25 Apr 2020 14:13:13 -0700 Subject: feat: parsing multiline fastq files --- include/libbio.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/libbio.h') 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); -- cgit v1.2.1