mirror of
https://github.com/chhylp123/hifiasm.git
synced 2026-10-06 03:28:13 +08:00
reverted to the older k_mer_hit definition
This commit is contained in:
+2
-19
@@ -72,7 +72,6 @@ typedef struct
|
||||
CIGAR cigar;
|
||||
} window_list;
|
||||
|
||||
|
||||
typedef struct
|
||||
{
|
||||
window_list* buffer;
|
||||
@@ -128,25 +127,10 @@ typedef struct
|
||||
|
||||
typedef struct
|
||||
{
|
||||
uint64_t opos;
|
||||
uint32_t self_offset; // offset on the target read
|
||||
uint32_t readID:31, strand:1;
|
||||
uint32_t offset, self_offset;
|
||||
} k_mer_hit;
|
||||
|
||||
static inline uint32_t ha_hit_get_readID(const k_mer_hit *h)
|
||||
{
|
||||
return h->opos >> 33;
|
||||
}
|
||||
|
||||
static inline uint32_t ha_hit_get_rev(const k_mer_hit *h)
|
||||
{
|
||||
return h->opos >> 32 & 1;
|
||||
}
|
||||
|
||||
static inline uint32_t ha_hit_get_offset(const k_mer_hit *h)
|
||||
{
|
||||
return (uint32_t)h->opos;
|
||||
}
|
||||
|
||||
typedef struct
|
||||
{
|
||||
long long* score;
|
||||
@@ -160,7 +144,6 @@ typedef struct
|
||||
typedef struct
|
||||
{
|
||||
k_mer_hit* list;
|
||||
k_mer_hit* tmp;
|
||||
long long length;
|
||||
long long size;
|
||||
Chain_Data chainDP;
|
||||
|
||||
Reference in New Issue
Block a user