Skip to content

Commit 58c7fb8

Browse files
committed
Bugfix to bbmap/index
1 parent 7a2739f commit 58c7fb8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

SequenceAnalysis/src/org/labkey/sequenceanalysis/run/alignment/BBMapWrapper.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,11 @@ public File doAlignment(File inputFastq1, @Nullable File inputFastq2, File outpu
283283

284284
public File buildIndex(File inputFasta, File outDir) throws PipelineJobException
285285
{
286+
if (!outDir.exists())
287+
{
288+
outDir.mkdirs();
289+
}
290+
286291
List<String> args = new ArrayList<>();
287292
args.add(getExe().getPath());
288293
args.add("k=7");

0 commit comments

Comments
 (0)