MCPcopy Create free account
hub / github.com/BoevaLab/FREEC / SNPposition

Method SNPposition

src/SNPposition.cpp:24–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22#include <assert.h>
23
24SNPposition::SNPposition(int position, char* alt) //for a VCF line
25{
26 position_=position;
27 if (strlen(alt) == 1) {
28 nucleotide_ = alt[0];
29 } else {
30 char* strs[4];
31 unsigned strs_cnt = split(alt, ',', strs);
32 nucleotide_ = strs[0][0];
33 }
34 freq_ = 0; // EV: must be initialized
35 status_ = 0; // EV: must be initialized
36 bin_=NA; //before initialization
37}
38
39
40SNPposition::SNPposition(int position, char* letters, const char* strand, const char* ref) //for .txt line

Callers

nothing calls this directly

Calls 2

splitFunction · 0.85
complementFunction · 0.85

Tested by

no test coverage detected