ContextSV
0.0.1
Integrative SV calling.
Toggle main menu visibility
Main Page
Classes
Class List
Class Index
Class Members
All
a
b
c
d
e
f
g
i
l
m
n
o
p
q
r
s
u
w
Functions
a
b
c
d
e
g
i
l
q
r
s
u
Variables
a
b
c
d
f
i
m
n
o
p
r
s
w
Files
File List
File Members
All
a
b
c
d
e
f
g
i
k
l
m
n
p
q
r
s
t
v
Functions
a
b
c
d
e
f
g
i
k
l
m
n
p
q
r
s
t
v
Typedefs
Macros
•
All
Classes
Files
Functions
Variables
Typedefs
Macros
Loading...
Searching...
No Matches
input_data.h
Go to the documentation of this file.
1
//
2
// common.h:
3
// Manage common types, parameters, and functions
4
5
#ifndef INPUT_DATA_H
6
#define INPUT_DATA_H
7
8
#include "
fasta_query.h
"
9
11
#include <string>
12
#include <vector>
13
#include <map>
15
16
class
InputData
{
17
public
:
18
InputData
();
19
std::string
getBAMFilepath
();
20
void
setBAMFilepath
(std::string filepath);
21
void
setRefGenome
(std::string fasta_filepath);
22
FASTAQuery
getRefGenome
();
23
std::string
getSequence
(std::string chr,
int
pos_start,
int
pos_end);
24
std::string
getOutputDir
();
25
void
setOutputDir
(std::string dirpath);
26
std::string
getRegion
();
27
void
setRegion
(std::string
region
);
28
int
getWindowSize
();
29
void
setWindowSize
(
int
window_size
);
30
std::string
getSNPFilepath
();
31
void
setSNPFilepath
(std::string filepath);
32
std::string
getRegionChr
();
33
int
getRegionStart
();
34
int
getRegionEnd
();
35
bool
getRegionSet
();
36
void
setChrCov
(std::string
chr_cov
);
37
int
getChrCov
(std::string chr,
double
&
cov
);
38
std::string
getPFBFilepath
();
39
void
setPFBFilepath
(std::string filepath);
40
41
private
:
42
std::string
bam_filepath
=
""
;
43
std::string
ref_filepath
=
""
;
44
std::string
snp_vcf_filepath
=
""
;
45
std::string
pfb_filepath
=
""
;
46
FASTAQuery
fasta_query
;
47
std::string
output_dir
=
""
;
48
std::string
region
=
""
;
49
int
window_size
= 10000;
50
std::string
region_chr
=
""
;
51
int
region_start
= 0;
52
int
region_end
= 0;
53
bool
region_set
=
false
;
54
std::map<std::string, double>
chr_cov
;
55
};
16
class
InputData
{
…
};
56
57
#endif
// INPUT_DATA_H
FASTAQuery
Definition
fasta_query.h:11
InputData
Definition
input_data.h:16
InputData::region_start
int region_start
Definition
input_data.h:51
InputData::fasta_query
FASTAQuery fasta_query
Definition
input_data.h:46
InputData::region_set
bool region_set
Definition
input_data.h:53
InputData::setPFBFilepath
void setPFBFilepath(std::string filepath)
Definition
input_data.cpp:238
InputData::region_chr
std::string region_chr
Definition
input_data.h:50
InputData::setChrCov
void setChrCov(std::string chr_cov)
Definition
input_data.cpp:170
InputData::getPFBFilepath
std::string getPFBFilepath()
Definition
input_data.cpp:233
InputData::getBAMFilepath
std::string getBAMFilepath()
Definition
input_data.cpp:19
InputData::bam_filepath
std::string bam_filepath
Definition
input_data.h:42
InputData::getSNPFilepath
std::string getSNPFilepath()
Definition
input_data.cpp:140
InputData::setBAMFilepath
void setBAMFilepath(std::string filepath)
Definition
input_data.cpp:24
InputData::getOutputDir
std::string getOutputDir()
Definition
input_data.cpp:40
InputData::output_dir
std::string output_dir
Definition
input_data.h:47
InputData::setWindowSize
void setWindowSize(int window_size)
Definition
input_data.cpp:135
InputData::getWindowSize
int getWindowSize()
Definition
input_data.cpp:130
InputData::getRegionEnd
int getRegionEnd()
Definition
input_data.cpp:160
InputData::setOutputDir
void setOutputDir(std::string dirpath)
Definition
input_data.cpp:45
InputData::getRegion
std::string getRegion()
Definition
input_data.cpp:54
InputData::getRegionChr
std::string getRegionChr()
Definition
input_data.cpp:150
InputData::setRefGenome
void setRefGenome(std::string fasta_filepath)
Definition
input_data.cpp:29
InputData::region
std::string region
Definition
input_data.h:48
InputData::getRegionSet
bool getRegionSet()
Definition
input_data.cpp:165
InputData::chr_cov
std::map< std::string, double > chr_cov
Definition
input_data.h:54
InputData::getSequence
std::string getSequence(std::string chr, int pos_start, int pos_end)
InputData::snp_vcf_filepath
std::string snp_vcf_filepath
Definition
input_data.h:44
InputData::window_size
int window_size
Definition
input_data.h:49
InputData::region_end
int region_end
Definition
input_data.h:52
InputData::setRegion
void setRegion(std::string region)
Definition
input_data.cpp:59
InputData::getRefGenome
FASTAQuery getRefGenome()
Definition
input_data.cpp:35
InputData::ref_filepath
std::string ref_filepath
Definition
input_data.h:43
InputData::getRegionStart
int getRegionStart()
Definition
input_data.cpp:155
InputData::pfb_filepath
std::string pfb_filepath
Definition
input_data.h:45
InputData::setSNPFilepath
void setSNPFilepath(std::string filepath)
Definition
input_data.cpp:145
InputData::getChrCov
int getChrCov(std::string chr, double &cov)
Definition
input_data.cpp:215
InputData::InputData
InputData()
Definition
input_data.cpp:13
fasta_query.h
cov
double cov(double *x, double *y, int n)
Definition
kc.cpp:2953
include
input_data.h
Generated by
1.9.8