comparison pyPRADA_1.2/tools/samtools-0.1.16/sam_header.h @ 0:acc2ca1a3ba4

Uploaded
author siyuan
date Thu, 20 Feb 2014 00:44:58 -0500
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:acc2ca1a3ba4
1 #ifndef __SAM_HEADER_H__
2 #define __SAM_HEADER_H__
3
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7
8 void *sam_header_parse2(const char *headerText);
9 void *sam_header_merge(int n, const void **dicts);
10 void sam_header_free(void *header);
11 char *sam_header_write(const void *headerDict); // returns a newly allocated string
12
13 char **sam_header2list(const void *_dict, char type[2], char key_tag[2], int *_n);
14
15 void *sam_header2tbl(const void *dict, char type[2], char key_tag[2], char value_tag[2]);
16 const char *sam_tbl_get(void *h, const char *key);
17 int sam_tbl_size(void *h);
18 void sam_tbl_destroy(void *h);
19
20 #ifdef __cplusplus
21 }
22 #endif
23
24 #endif