|
9 | 9 | import org.labkey.api.sequenceanalysis.SequenceAnalysisService; |
10 | 10 | import org.labkey.api.sequenceanalysis.SequenceOutputFile; |
11 | 11 | import org.labkey.api.sequenceanalysis.pipeline.AbstractParameterizedOutputHandler; |
| 12 | +import org.labkey.api.sequenceanalysis.pipeline.CommandLineParam; |
12 | 13 | import org.labkey.api.sequenceanalysis.pipeline.ReferenceGenome; |
13 | 14 | import org.labkey.api.sequenceanalysis.pipeline.SequenceAnalysisJobSupport; |
14 | 15 | import org.labkey.api.sequenceanalysis.pipeline.SequenceOutputHandler; |
@@ -36,6 +37,10 @@ public PbsvJointCallingHandler() |
36 | 37 | put("allowBlank", false); |
37 | 38 | put("doNotIncludeInTemplates", true); |
38 | 39 | }}, null), |
| 40 | + ToolParameterDescriptor.createCommandLineParam(CommandLineParam.create("--log-level"), "logLevel", "Log Level", "Controls logging", "ldk-simplecombo", new JSONObject(){{ |
| 41 | + put("storeValues", "DEBUG;INFO;WARN"); |
| 42 | + put("multiSelect", false); |
| 43 | + }}, "INFO"), |
39 | 44 | ToolParameterDescriptor.create("doCopyLocal", "Copy Inputs Locally", "If checked, the input file(s) willbe copied to the job working directory.", "checkbox", new JSONObject(){{ |
40 | 45 | put("checked", true); |
41 | 46 | }}, true) |
@@ -66,7 +71,7 @@ public SequenceOutputProcessor getProcessor() |
66 | 71 | return new Processor(); |
67 | 72 | } |
68 | 73 |
|
69 | | - public static class Processor implements SequenceOutputProcessor |
| 74 | + public class Processor implements SequenceOutputProcessor |
70 | 75 | { |
71 | 76 | @Override |
72 | 77 | public void processFilesOnWebserver(PipelineJob job, SequenceAnalysisJobSupport support, List<SequenceOutputFile> inputFiles, JSONObject params, File outputDir, List<RecordedAction> actions, List<SequenceOutputFile> outputsToCreate) throws UnsupportedOperationException, PipelineJobException |
@@ -122,6 +127,8 @@ public void processFilesRemote(List<SequenceOutputFile> inputFiles, JobContext c |
122 | 127 | args.add(String.valueOf(maxThreads)); |
123 | 128 | } |
124 | 129 |
|
| 130 | + args.addAll(getClientCommandArgs(ctx.getParams())); |
| 131 | + |
125 | 132 | ReferenceGenome genome = ctx.getSequenceSupport().getCachedGenomes().iterator().next(); |
126 | 133 | args.add(genome.getWorkingFastaFile().getPath()); |
127 | 134 |
|
|
0 commit comments