/usr/include/tabix.hpp is in libtabixpp-dev 1.0.0-3build2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | #include <string>
#include <stdlib.h>
#include <sys/stat.h>
#include "htslib/bgzf.h"
#include "htslib/tbx.h"
#include "htslib/kseq.h"
#include <iostream>
#include <cstring>
#include <vector>
using namespace std;
class Tabix {
htsFile* fn;
tbx_t* tbx;
hts_itr_t* iter;
const tbx_conf_t *idxconf;
int tid, beg, end;
string firstline;
bool has_jumped;
vector<string>::iterator current_chrom;
public:
string filename;
vector<string> chroms;
Tabix(void);
Tabix(string& file);
~Tabix(void);
void getHeader(string& header);
bool setRegion(string& region);
bool getNextLine(string& line);
};
|