view 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
line wrap: on
line source

#ifndef BAM_SAMPLE_H
#define BAM_SAMPLE_H

#include "kstring.h"

typedef struct {
	int n, m;
	char **smpl;
	void *rg2smid, *sm2id;
} bam_sample_t;

bam_sample_t *bam_smpl_init(void);
int bam_smpl_add(bam_sample_t *sm, const char *abs, const char *txt);
int bam_smpl_rg2smid(const bam_sample_t *sm, const char *fn, const char *rg, kstring_t *str);
void bam_smpl_destroy(bam_sample_t *sm);

#endif