Skip to content
Permalink
Browse files

Fixed bug with wrong V gene selection in `assembleContigs`.

  • Loading branch information
dbolotin committed Dec 21, 2019
1 parent 7fb5d17 commit 23694d0c28791ece7a735e7cdab549c88060cce7
Showing with 2 additions and 1 deletion.
  1. +1 −0 CHANGELOG_CURRENT
  2. +1 −1 src/main/java/com/milaboratory/mixcr/cli/CommandAssembleContigs.java
@@ -0,0 +1 @@
Fixed bug with wrong V gene selection in `assembleContigs`.
@@ -186,7 +186,7 @@ public void run1() throws Exception {
.collect(Collectors.toMap(
Map.Entry::getKey,
accs -> accs.getValue().entrySet().stream()
.max(Comparator.comparing(e -> -e.getValue().getNumberOfCoveredPoints(1)))
.max(Comparator.comparing(e -> e.getValue().getNumberOfCoveredPoints(1)))
.map(e -> e.getValue().hit).get(),
noMerge(),
() -> new EnumMap<>(GeneType.class)));

0 comments on commit 23694d0

Please sign in to comment.
You can’t perform that action at this time.