Gamgee
You miserable little maggot. I'll stove your head in!
|
#include <sam_header.h>
Public Attributes | |
struct SAM_hdr_item_s * | next |
struct SAM_hdr_item_s * | prev |
SAM_hdr_tag * | tag |
int | order |
The parsed version of the SAM header string.
Each header type (SQ, RG, HD, etc) points to its own SAM_hdr_type struct via the main hash table h in the SAM_hdr struct.
These in turn consist of circular bi-directional linked lists (ie rings) to hold the multiple instances of the same header type code. For example if we have 5 @SQ lines the primary hash table will key on @SQ pointing to the first SAM_hdr_type and that in turn will be part of a ring of 5 elements.
For each SAM_hdr_type structure we also point to a SAM_hdr_tag structure which holds the tokenised attributes; the tab separated key:value pairs per line.
struct SAM_hdr_item_s* SAM_hdr_item_s::next |
int SAM_hdr_item_s::order |
struct SAM_hdr_item_s* SAM_hdr_item_s::prev |
SAM_hdr_tag* SAM_hdr_item_s::tag |