Skip to content

Commit

Permalink
Improved QueryInterval log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
d-cameron committed Dec 30, 2016
1 parent 2d6b544 commit 8d0b44f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/main/java/au/edu/wehi/idsv/AssemblyEvidenceSource.java
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ private void assembleChunk(SAMFileWriter writer, SAMFileWriter filteredWriter, Q
}
}
private void loadAssemblyEvidenceAllocation(GreedyAssemblyAllocationCache cache, File in, QueryInterval qi) throws IOException {
log.debug("Caching assembly evidence allocation in interval " + qi.toString());
log.debug(String.format("Caching assembly evidence allocation in interval %s:%d-%d", getContext().getDictionary().getSequence(qi.referenceIndex).getSequenceName(), qi.start, qi.end));
QueryInterval expanded = getExpanded(qi);
try (CloseableIterator<DirectedEvidence> reads = mergedIterator(source, expanded)) {
try (SamReader reader = factory.open(in)) {
Expand All @@ -267,7 +267,7 @@ private void loadAssemblyEvidenceAllocation(GreedyAssemblyAllocationCache cache,
}
}
private void deduplicateChunk(File in, File out, QueryInterval qi, GreedyAssemblyAllocationCache cache) throws IOException {
log.debug("Uniquely assigning assembly evidence allocation in interval " + qi.toString());
log.debug(String.format("Uniquely assigning assembly evidence allocation in interval %s:%d-%d", getContext().getDictionary().getSequence(qi.referenceIndex).getSequenceName(), qi.start, qi.end));
File tmpout = FileSystemContext.getWorkingFileFor(out);
QueryInterval expanded = getExpanded(qi);
try (CloseableIterator<DirectedEvidence> reads = mergedIterator(source, expanded)) {
Expand Down
1 change: 0 additions & 1 deletion src/test/java/au/edu/wehi/idsv/SingleReadEvidenceTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import java.util.Collection;
import java.util.List;
import java.util.Map.Entry;
import java.util.stream.Collector;
import java.util.stream.Collectors;

import org.junit.Test;
Expand Down

0 comments on commit 8d0b44f

Please sign in to comment.