Debian Codegraph @

src/vcf_writer.h

raw symbols SCIP
1 #include <fstream>
2 #include <iostream>
3 #include <vector>
4
5 #include "allele_functions.h"
6 #include "htslib/kstring.h"
7 #include "htslib/vcf.h"
8 #include "ref_seq.h"
9
10 class vcf_writer {
11 vcfFile *file;
12 ref_antd *ref;
13 bcf_hdr_t *hdr;
14 std::string region;
15 std::string sample_name;
16 int write_record(uint32_t pos, std::vector<allele> &alleles, char ref);
17 int init_header();
18
19 public:
20 int init(char _mode, std::string fname, std::string region,
21 std::string sample_name, std::string ref_path);
22 };