ContextSV 0.0.1
Integrative SV calling.
All Classes Files Functions Variables Typedefs Macros
sv_caller.h
Go to the documentation of this file.
1// SVCaller: Detect SVs from long read alignments
2
3#ifndef SV_CALLER_H
4#define SV_CALLER_H
5
6#include "input_data.h"
7#include "cnv_data.h"
8#include "sv_data.h"
9#include "types.h"
10
11
12class SVCaller {
13 private:
14 //int max_indel_dist = 1000; // Maximum distance between two indels to
15 //be considered as a single SV
16 int max_indel_dist = 10; // Maximum distance between two indels to be considered as a single SV
17 //int min_sv_size = 50; // Minimum SV size to be considered
18 //int min_sv_size = 30; // Minimum SV size to be considered
19 int min_sv_size = 50; // Minimum SV size to be considered
20 int min_mapq = 20; // Minimum mapping quality to be considered
22
23 // Detect SVs from long read alignments in the CIGAR string
24 SVData detectSVsFromCIGAR(std::string chr, int32_t pos, uint32_t* cigar, int cigar_len);
25
26 // Detect SVs from split-read alignments (primary and supplementary)
28
29 public:
31
32 // Detect SVs and predict SV type from long read alignments and CNV calls
33 SVData run();
34};
35
36#endif // SV_CALLER_H
Definition input_data.h:16
Definition sv_caller.h:12
int max_indel_dist
Definition sv_caller.h:16
InputData * input_data
Definition sv_caller.h:21
SVData detectSVsFromCIGAR(std::string chr, int32_t pos, uint32_t *cigar, int cigar_len)
Definition sv_caller.cpp:35
int min_mapq
Definition sv_caller.h:20
SVData run()
Definition sv_caller.cpp:24
int min_sv_size
Definition sv_caller.h:19
SVData detectSVsFromSplitReads()
Definition sv_caller.cpp:152
Definition sv_data.h:13