modified: makesrc3.mk
[GalaxyCodeBases.git] / c_cpp / faststater / 2bitseq.h
blob65a1d67987512a209dc40737186f8dfe709ea601
1 #ifndef _G_DBSEQ_H
2 #define _G_DBSEQ_H
4 #include <stdint.h> // int_fast8_t
5 #include <stdlib.h> // malloc
6 #include "2bitseqinline.h"
8 #ifndef DBIT2BASES
9 #define DBIT2BASES
10 #define DBIT2BASE(dbit) ("ACGT"[dbit])
11 #define DBIT2COMPBASE(dbit) ("TGCA"[dbit])
12 #endif
14 char *unit2basechr(uint64_t);
15 char *dib2basechr(uint64_t *, size_t);
17 uint64_t *dibrevcomp(uint64_t const *const, size_t);
18 //uint64_t *dibmalloc(size_t len);
20 #endif // 2bitseq.h