diff options
author | Nicholas Noll <nbnoll@eml.cc> | 2020-04-25 14:13:13 -0700 |
---|---|---|
committer | Nicholas Noll <nbnoll@eml.cc> | 2020-04-25 14:13:13 -0700 |
commit | 98375c9c5e4bf26f8d238666d7233177dba787eb (patch) | |
tree | 32c23d1207e518935d8493ba7d5928d8f8ec2666 /include/libbio.h | |
parent | 9ff2333d9fd84c3741bf71961532152976f8ddc7 (diff) |
feat: parsing multiline fastq files
Diffstat (limited to 'include/libbio.h')
-rw-r--r-- | include/libbio.h | 6 |
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); |