ContextSV 0.0.1
Integrative SV calling.
All Classes Files Functions Variables Typedefs Macros
SVData Class Reference

#include <sv_data.h>

Collaboration diagram for SVData:
[legend]

Public Member Functions

 SVData (FASTAQuery &ref_genome)
 
void addSVCall (std::string chr, int start, int end, int sv_type, std::string alt_allele)
 
std::string getRefGenome ()
 
std::string getSequence (std::string chr, int pos_start, int pos_end)
 
void updateSVType (SVCandidate key, int sv_type)
 
void saveToVCF (FASTAQuery &ref_genome, std::string output_dir)
 
SVDepthMap::iterator begin ()
 
SVDepthMap::iterator end ()
 

Private Attributes

SVDepthMap sv_calls
 
FASTAQueryref_genome
 
std::map< int, std::string > sv_type_map
 

Constructor & Destructor Documentation

◆ SVData()

SVData::SVData ( FASTAQuery ref_genome)

Member Function Documentation

◆ addSVCall()

void SVData::addSVCall ( std::string  chr,
int  start,
int  end,
int  sv_type,
std::string  alt_allele 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ begin()

SVDepthMap::iterator SVData::begin ( )
inline

◆ end()

SVDepthMap::iterator SVData::end ( )
inline
Here is the caller graph for this function:

◆ getRefGenome()

std::string SVData::getRefGenome ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getSequence()

std::string SVData::getSequence ( std::string  chr,
int  pos_start,
int  pos_end 
)
Here is the call graph for this function:

◆ saveToVCF()

void SVData::saveToVCF ( FASTAQuery ref_genome,
std::string  output_dir 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateSVType()

void SVData::updateSVType ( SVCandidate  key,
int  sv_type 
)
Here is the caller graph for this function:

Member Data Documentation

◆ ref_genome

FASTAQuery* SVData::ref_genome
private

◆ sv_calls

SVDepthMap SVData::sv_calls
private

◆ sv_type_map

std::map<int, std::string> SVData::sv_type_map
private
Initial value:
= {
{0, "DEL"},
{1, "DUP"},
{2, "INV"},
{3, "INS"},
{4, "BND"}
}

The documentation for this class was generated from the following files: