forked from ANGSD/angsd
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaio.h
More file actions
18 lines (18 loc) · 669 Bytes
/
Copy pathaio.h
File metadata and controls
18 lines (18 loc) · 669 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <vector>
#include <htslib/bgzf.h>
#include <htslib/kstring.h>
#include <htslib/hts.h>
#include <zlib.h>
//angsd io
namespace aio{
size_t fsize(const char* fname);
int fexists(const char* str);//{///@param str Filename given as a string.
FILE *openFile(const char* a,const char* b);
FILE *getFILE(const char*fname,const char* mode);
BGZF *openFileBG(const char* a,const char* b);
htsFile *openFileHts(const char * a, const char*b);
htsFile *openFileHtsBcf(const char * a, const char*b);
int isNewer(const char *newer,const char *older);
ssize_t bgzf_write(BGZF *fp, const void *data, size_t length);
int tgets(gzFile gz,char**buf,int *l);
}