diff options
Diffstat (limited to 'include/libbio.h')
-rw-r--r-- | include/libbio.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/libbio.h b/include/libbio.h index 58540d4..9f54015 100644 --- a/include/libbio.h +++ b/include/libbio.h @@ -24,8 +24,17 @@ typedef struct bio·Tree bio·Node *root; } bio·Tree; +/* newick i/o */ bio·Tree bio·readnewick(Stream *file, mem·Allocator heap); error bio·writenewick(bio·Tree tree, Stream *out); // ----------------------------------------------------------------------- // Sequences + +typedef struct bio·FastaReader bio·FastaReader; + +/* fasta/q i/o */ +bio·Seq *bio·newfastareader(Stream *file, mem·Allocator heap); +bio·Seq *bio·readfasta(bio·FastaParser *p); +error bio·writefasta(bio·Seq *seq, Stream *out); + |