Commit 1fcf780c authored by Neil Kindlon's avatar Neil Kindlon
Browse files

corected unit test files for VCF insertions; changed to min instead of max for...

corected unit test files for VCF insertions; changed to min instead of max for SV's with multiple vals
parent 16aa8fb8
......@@ -153,7 +153,7 @@ int SingleLineDelimTextFileReader::getVcfSVlen() {
//comma found in the number, that means there are two numbers
int num1 = str2chrPos(startPtr, midPtr - startPtr);
int num2 = str2chrPos(midPtr +1, endPtr - (midPtr +1));
endCoord = max(abs(num1), abs(num2));
endCoord = min(abs(num1), abs(num2));
} else {
endCoord = abs(str2chrPos(startPtr, endPtr - startPtr));
}
......
##fileformat=VCFv4.1
chr1 1 a G <DEL> 70.90 . TOOL=LUMPY;SVTYPE=DEL;SVLEN=-389,-4611;END=253195;STR=+-:4;IMPRECISE;CIPOS=-2,137;CIEND=0,0;EVENT=791255;SUP=4;PESUP=4;SRSUP=0;EV=PE;PRIN;CSQ=intergenic_variant||||||||||
chr1 4 a G <INS> 70.90 . TOOL=LUMPY;SVTYPE=DEL;SVLEN=-4611;END=253195;STR=+-:4;IMPRECISE;CIPOS=-2,137;CIEND=0,0;EVENT=791255;SUP=4;PESUP=4;SRSUP=0;EV=PE;PRIN;CSQ=intergenic_variant||||||||||
chr1 1 a G <DEL> 70.90 . TOOL=LUMPY;SVTYPE=DEL;SVLEN=-389;END=390;STR=+-:4;IMPRECISE;CIPOS=-2,137;CIEND=0,0;EVENT=791255;SUP=4;PESUP=4;SRSUP=0;EV=PE;PRIN;CSQ=intergenic_variant||||||||||
chr1 4 a G <INS> 70.90 . TOOL=LUMPY;SVTYPE=INS;SVLEN=4611;END=4615;STR=+-:4;IMPRECISE;CIPOS=-2,137;CIEND=0,0;EVENT=791255;SUP=4;PESUP=4;SRSUP=0;EV=PE;PRIN;CSQ=intergenic_variant||||||||||
##fileformat=VCFv4.1
chr1 5 a G <INS> 70.90 . TOOL=LUMPY;SVTYPE=DEL;SVLEN=500;END=253195;STR=+-:4;IMPRECISE;CIPOS=-2,137;CIEND=0,0;EVENT=791255;SUP=4;PESUP=4;SRSUP=0;EV=PE;PRIN;CSQ=intergenic_variant||||||||||
chr1 15 a G <DEL> 70.90 . TOOL=LUMPY;SVTYPE=DEL;SVLEN=-600;END=253195;STR=+-:4;IMPRECISE;CIPOS=-2,137;CIEND=0,0;EVENT=791255;SUP=4;PESUP=4;SRSUP=0;EV=PE;PRIN;CSQ=intergenic_variant||||||||||
chr1 5 a G <INS> 70.90 . TOOL=LUMPY;SVTYPE=INS;SVLEN=500;END=505;STR=+-:4;IMPRECISE;CIPOS=-2,137;CIEND=0,0;EVENT=791255;SUP=4;PESUP=4;SRSUP=0;EV=PE;PRIN;CSQ=intergenic_variant||||||||||
chr1 15 a G <DEL> 70.90 . TOOL=LUMPY;SVTYPE=DEL;SVLEN=-600;END=615;STR=+-:4;IMPRECISE;CIPOS=-2,137;CIEND=0,0;EVENT=791255;SUP=4;PESUP=4;SRSUP=0;EV=PE;PRIN;CSQ=intergenic_variant||||||||||
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment