Mercurial > repos > siyuan > prada
annotate pyPRADA_1.2/tools/samtools-0.1.16/sample.h @ 0:acc2ca1a3ba4
Uploaded
| author | siyuan |
|---|---|
| date | Thu, 20 Feb 2014 00:44:58 -0500 |
| parents | |
| children |
| rev | line source |
|---|---|
| 0 | 1 #ifndef BAM_SAMPLE_H |
| 2 #define BAM_SAMPLE_H | |
| 3 | |
| 4 #include "kstring.h" | |
| 5 | |
| 6 typedef struct { | |
| 7 int n, m; | |
| 8 char **smpl; | |
| 9 void *rg2smid, *sm2id; | |
| 10 } bam_sample_t; | |
| 11 | |
| 12 bam_sample_t *bam_smpl_init(void); | |
| 13 int bam_smpl_add(bam_sample_t *sm, const char *abs, const char *txt); | |
| 14 int bam_smpl_rg2smid(const bam_sample_t *sm, const char *fn, const char *rg, kstring_t *str); | |
| 15 void bam_smpl_destroy(bam_sample_t *sm); | |
| 16 | |
| 17 #endif |
