annotate pyPRADA_1.2/tools/samtools-0.1.16/sam_header.h @ 3:f17965495ec9 draft default tip

Uploaded
author siyuan
date Tue, 11 Mar 2014 12:14:01 -0400
parents acc2ca1a3ba4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
acc2ca1a3ba4 Uploaded
siyuan
parents:
diff changeset
1 #ifndef __SAM_HEADER_H__
acc2ca1a3ba4 Uploaded
siyuan
parents:
diff changeset
2 #define __SAM_HEADER_H__
acc2ca1a3ba4 Uploaded
siyuan
parents:
diff changeset
3
acc2ca1a3ba4 Uploaded
siyuan
parents:
diff changeset
4 #ifdef __cplusplus
acc2ca1a3ba4 Uploaded
siyuan
parents:
diff changeset
5 extern "C" {
acc2ca1a3ba4 Uploaded
siyuan
parents:
diff changeset
6 #endif
acc2ca1a3ba4 Uploaded
siyuan
parents:
diff changeset
7
acc2ca1a3ba4 Uploaded
siyuan
parents:
diff changeset
8 void *sam_header_parse2(const char *headerText);
acc2ca1a3ba4 Uploaded
siyuan
parents:
diff changeset
9 void *sam_header_merge(int n, const void **dicts);
acc2ca1a3ba4 Uploaded
siyuan
parents:
diff changeset
10 void sam_header_free(void *header);
acc2ca1a3ba4 Uploaded
siyuan
parents:
diff changeset
11 char *sam_header_write(const void *headerDict); // returns a newly allocated string
acc2ca1a3ba4 Uploaded
siyuan
parents:
diff changeset
12
acc2ca1a3ba4 Uploaded
siyuan
parents:
diff changeset
13 char **sam_header2list(const void *_dict, char type[2], char key_tag[2], int *_n);
acc2ca1a3ba4 Uploaded
siyuan
parents:
diff changeset
14
acc2ca1a3ba4 Uploaded
siyuan
parents:
diff changeset
15 void *sam_header2tbl(const void *dict, char type[2], char key_tag[2], char value_tag[2]);
acc2ca1a3ba4 Uploaded
siyuan
parents:
diff changeset
16 const char *sam_tbl_get(void *h, const char *key);
acc2ca1a3ba4 Uploaded
siyuan
parents:
diff changeset
17 int sam_tbl_size(void *h);
acc2ca1a3ba4 Uploaded
siyuan
parents:
diff changeset
18 void sam_tbl_destroy(void *h);
acc2ca1a3ba4 Uploaded
siyuan
parents:
diff changeset
19
acc2ca1a3ba4 Uploaded
siyuan
parents:
diff changeset
20 #ifdef __cplusplus
acc2ca1a3ba4 Uploaded
siyuan
parents:
diff changeset
21 }
acc2ca1a3ba4 Uploaded
siyuan
parents:
diff changeset
22 #endif
acc2ca1a3ba4 Uploaded
siyuan
parents:
diff changeset
23
acc2ca1a3ba4 Uploaded
siyuan
parents:
diff changeset
24 #endif