mapgd
0.4
A program for the Maximum-likelihood analysis of population genomic data.
Main Page
Related Pages
Modules
Data Structures
Files
File List
All
Data Structures
Functions
Variables
Friends
Groups
Pages
mapgd_0.4
data_conversion
bcf2pro.h
1
/* An bcf */
2
3
#ifndef _BCF2PRO_H_
4
#define _BCF2PRO_H_
5
6
#include <iostream>
7
#include <cfloat>
8
#include <iomanip>
9
#include <vector>
10
11
#include "typedef.h"
12
#include "datatypes.h"
13
#include "raw.h"
14
#include "stream_tools.h"
15
16
#include "map_file.h"
17
19
22
class
Bcf2pro
:
public
Locus
{
23
private
:
24
25
// bcf_init
26
// bcf_destroy
27
// bcf_read(htsFile *fp, const bcf_hdr_t *h, bcf1_t *v)
28
// bcf_write(htsFile *fp, const bcf_hdr_t *h, bcf1_t *v)
29
30
public
:
31
Bcf2pro
(){
32
// Locus();
33
};
34
Bcf2pro
(
const
std::vector <std::string> &str){
35
//.. Locus(str);
36
};
37
Bcf2pro
(
const
count_t &){
38
//.. Locus(str);
39
};
40
41
42
/*
43
void set_header(const File_index &, const std::vector <std::string> &);
44
45
void put (const Data *, ...);
46
void get (Data *, ...) const;
47
48
void put (const File_index &, const Locus &);
49
void get (Locus &) const;
50
51
//The mandatory fields.
52
std::string id;
53
Base ref;
54
std::vector <std::string> alt;
55
float_t qual;
56
bool filter;
57
std::vector <std::string> info;
58
*/
59
};
60
61
#endif
Bcf2pro
Because of the god awful mess that are vcf header lines.
Definition:
bcf2pro.h:22
Locus
Definition:
locus.h:14
Generated on Mon Oct 1 2018 13:55:19 for mapgd by
1.8.6