Skip to content

Commit f1e44c2

Browse files
committed
Respect minInsertSize in all cases
1 parent d274b4b commit f1e44c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,9 @@ private static String inferInsertSize(PipelineContext ctx, File bam, int minInse
166166
throw new PipelineJobException(e);
167167
}
168168

169-
ctx.getLogger().error("unable to infer insert size, defaulting to 250");
169+
ctx.getLogger().error("unable to infer insert size, defaulting to " + minInsertSize);
170170

171-
return "100";
171+
return String.valueOf(minInsertSize);
172172
}
173173

174174
public static File runPindel(AnalysisOutputImpl output, PipelineContext ctx, Readset rs, File outDir, File inputBam, File fasta, double minFraction, int minDepth, boolean removeDuplicates, File gatkDepth, int minInsertSize) throws PipelineJobException

0 commit comments

Comments
 (0)