ngs Namespace Reference

Typedefs

typedef std::vector< Alignment * > AlignmentVector
 
typedef std::vector< std::string > StringVector
 

Functions

void readVCF (const AlignmentVector &sources, const StringVector &filenames, const float minQuality, const float minCoverage, const bool ignoreFilter, const char *const replacementChar)
 

Typedef Documentation

◆ AlignmentVector

typedef std::vector<Alignment *> ngs::AlignmentVector

Definition at line 44 of file VCFHandler.h.

◆ StringVector

typedef std::vector<std::string> ngs::StringVector

Definition at line 45 of file VCFHandler.h.

Function Documentation

◆ readVCF()

void ngs::readVCF ( const AlignmentVector sources,
const StringVector filenames,
const float  minQuality,
const float  minCoverage,
const bool  ignoreFilter,
const char *const  replacementChar 
)
Parameters
[in,out]sourcesList of Alignments, each of them having one sequence, the reference one.
They fill be extended with one sequence for each donor found on the VCF dataset, and their SNP will be applied to the correspondent sequence.
[in]filenamesList of VCF files to parse and apply.
[in]minQualityMin quality a SNP should have to be applied.
[in]minCoverageMin coverage a SNP should have to be applied.
[in]ignoreFilterWhether to ignore filter field in VCF
[in]replacementCharReplacement char to apply when VCF-feature doesn't pass the filter.

Definition at line 619 of file VCFHandler.cpp.

Referenced by trimAlManager::perform().

+ Here is the caller graph for this function: