Skip to content

Commit

Permalink
This fixes milaboratory#560
Browse files Browse the repository at this point in the history
  • Loading branch information
PoslavskySV committed Dec 6, 2019
1 parent 3baa3df commit 82c35be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ protected VDJCAlignmentResult<VDJCMultiRead> process0(VDJCMultiRead input) {
if (g == 0) // V
lastVTarget = targetId;

if (g == 1) // J
if (g == 1 && firstJTarget == -1) // J
firstJTarget = targetId;

alignmentHits[targetId] = als.getHits().toArray(new AlignmentHit[als.getHits().size()]);
Expand Down

0 comments on commit 82c35be

Please sign in to comment.