Mercurial > repos > lsong10 > psiclass
comparison PsiCLASS-1.0.2/samtools-0.1.19/sample.h @ 0:903fc43d6227 draft default tip
Uploaded
author | lsong10 |
---|---|
date | Fri, 26 Mar 2021 16:52:45 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:903fc43d6227 |
---|---|
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 |