|
1 | 1 | package org.labkey.sequenceanalysis.run.bampostprocessing; |
2 | 2 |
|
| 3 | +import org.json.JSONObject; |
3 | 4 | import org.labkey.api.pipeline.PipelineJobException; |
4 | 5 | import org.labkey.api.sequenceanalysis.model.Readset; |
5 | 6 | import org.labkey.api.sequenceanalysis.pipeline.BamProcessingOutputImpl; |
@@ -35,7 +36,15 @@ public static class Provider extends AbstractPipelineStepProvider<MarkDuplicates |
35 | 36 | public Provider() |
36 | 37 | { |
37 | 38 | super("MarkDuplicates", "Mark Duplicates", "Picard", "This runs Picard tools MarkDuplicates command in order to mark and/or remove duplicate reads. Please note this can have implications for downstream analysis, because reads marked as duplicates are frequently omitted. This is often desired, but can be a problem for sequencing of PCR products.", Arrays.asList( |
38 | | - ToolParameterDescriptor.createCommandLineParam(CommandLineParam.create("REMOVE_DUPLICATES"), "removeDuplicates", "Remove Duplicates", "If selected, duplicate reads will be removed, as opposed to flagged as duplicates.", "checkbox", null, null) |
| 39 | + ToolParameterDescriptor.createCommandLineParam(CommandLineParam.create("REMOVE_DUPLICATES"), "removeDuplicates", "Remove Duplicates", "If selected, duplicate reads will be removed, as opposed to flagged as duplicates.", "checkbox", null, null), |
| 40 | + ToolParameterDescriptor.createCommandLineParam(CommandLineParam.create("MAX_RECORDS_IN_RAM"), "maxRecordsInRam", "Max Records in RAM", "When writing files that need to be sorted, this will specify the number of records stored in RAM before spilling to disk. Increasing this number reduces the number of file handles needed to sort the file, and increases the amount of RAM needed.", "ldk-integerfield", new JSONObject(){{ |
| 41 | + put("minValue", 0); |
| 42 | + }}, null), |
| 43 | + ToolParameterDescriptor.createCommandLineParam(CommandLineParam.create("SORTING_COLLECTION_SIZE_RATIO "), "sortingCollectionSizeRatio", "Sorting Collection Size Ratio", "This number, plus the maximum RAM available to the JVM, determine the memory footprint used by some of the sorting collections. If you are running out of memory, try reducing this number. Default is 0.25", "ldk-numberfield", new JSONObject(){{ |
| 44 | + put("minValue", 0); |
| 45 | + put("maxValue", 1); |
| 46 | + put("decimalPrecision", 2); |
| 47 | + }}, null) |
39 | 48 | ), null, "http://picard.sourceforge.net/command-line-overview.shtml"); |
40 | 49 | } |
41 | 50 |
|
|
0 commit comments