Sha256: 048c06a1f5deb33f82554d35a7f8e61d1223539f095af069b262039b1491b52e
Contents?: true
Size: 674 Bytes
Versions: 3
Compression:
Stored size: 674 Bytes
Contents
#ifndef BWT_LITE_H_ #define BWT_LITE_H_ #include <stdint.h> typedef struct { uint32_t seq_len, bwt_size, n_occ; uint32_t primary; uint32_t *bwt, *occ, *sa, L2[5]; uint32_t cnt_table[256]; } bwtl_t; #define bwtl_B0(b, k) ((b)->bwt[(k)>>4]>>((~(k)&0xf)<<1)&3) #ifdef __cplusplus extern "C" { #endif bwtl_t *bwtl_seq2bwtl(int len, const uint8_t *seq); inline uint32_t bwtl_occ(const bwtl_t *bwt, uint32_t k, uint8_t c); inline void bwtl_occ4(const bwtl_t *bwt, uint32_t k, uint32_t cnt[4]); inline void bwtl_2occ4(const bwtl_t *bwt, uint32_t k, uint32_t l, uint32_t cntk[4], uint32_t cntl[4]); void bwtl_destroy(bwtl_t *bwt); #ifdef __cplusplus } #endif #endif
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bio-bwa-0.2.2 | ext/bwt_lite.h |
bio-bwa-0.2.1 | ext/bwt_lite.h |
bio-bwa-0.2.0 | ext/bwt_lite.h |