Skip to content

Commit 0dc5a73

Browse files
committed
Bugfix to lofreq VCF merge
1 parent 26c4335 commit 0dc5a73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SequenceAnalysis/src/org/labkey/sequenceanalysis/run/analysis/MergeLoFreqVcfHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ public boolean isMergedRef()
156156

157157
protected Allele extractAlleleForPosition(VariantContext vc, Allele a, Logger log)
158158
{
159-
int offset = vc.getStart() - _start;
159+
int offset = _start - vc.getStart();
160160
if (offset < 0)
161161
{
162162
log.error("Site located after vc start: " + _start);

0 commit comments

Comments
 (0)