NVBIO
|
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <getopt.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
#include "htslib/tbx.h"
#include "htslib/sam.h"
#include "htslib/vcf.h"
#include "htslib/kseq.h"
#include "htslib/bgzf.h"
#include "htslib/hts.h"
Go to the source code of this file.
Classes | |
struct | args_t |
Macros | |
#define | IS_GFF (1<<0) |
#define | IS_BED (1<<1) |
#define | IS_SAM (1<<2) |
#define | IS_VCF (1<<3) |
#define | IS_BCF (1<<4) |
#define | IS_BAM (1<<5) |
#define | IS_TXT (IS_GFF|IS_BED|IS_SAM|IS_VCF) |
#define | PRINT_HEADER 1 |
#define | HEADER_ONLY 2 |
Functions | |
int | file_type (const char *fname) |
int | reheader_file (const char *fname, const char *header, int ftype, tbx_conf_t *conf) |
int | main (int argc, char *argv[]) |
int reheader_file | ( | const char * | fname, |
const char * | header, | ||
int | ftype, | ||
tbx_conf_t * | conf | ||
) |