modified: src1/common.h
[GalaxyCodeBases.git] / c_cpp / libgFileIO / 2bitseq.h
blob4c064159c4cba830ffb8522075291ad9f53e10f9
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]) // ("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