more accurate SAM flag

This commit is contained in:
Heng Li
2017-10-05 10:59:38 -04:00
parent 7cc4f6f965
commit 5ab99eb26e
5 changed files with 30 additions and 16 deletions
+3 -2
View File
@@ -69,8 +69,9 @@ typedef struct {
int32_t parent, subsc; // parent==id if primary; best alternate mapping score
int32_t as; // offset in the a[] array (for internal uses only)
int32_t fuzzy_mlen, fuzzy_blen; // seeded exact match length; seeded alignment block length (approximate)
uint32_t mapq:8, split:2, sam_pri:1, n_sub:21; // mapQ; split pattern; if SAM primary; number of suboptimal mappings
uint32_t hash, dummy;
uint32_t mapq:8, split:2, n_sub:22; // mapQ; split pattern; number of suboptimal mappings
uint32_t sam_pri:1, proper_frag:1, dummy:30;
uint32_t hash;
mm_extra_t *p;
} mm_reg1_t;