Skip to content

Commit b211262

Browse files
committed
Support MINIMUM_DISTANCE for MarkDuplicatesWithMate
1 parent bc63b67 commit b211262

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

SequenceAnalysis/src/org/labkey/sequenceanalysis/run/bampostprocessing/MarkDuplicatesWithMateCigarStep.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ public static class Provider extends AbstractPipelineStepProvider<MarkDuplicates
3535
public Provider()
3636
{
3737
super("MarkDuplicatesWithMateCigarStep", "Mark Duplicates With Mate", "Picard", "This runs Picard tools MarkDuplicatesWithMateCigarStep command in order to mark and/or remove duplicate reads. Unlike the original MarkDuplicates, this uses paired read information to more accurately detect true duplicates. 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)
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("MINIMUM_DISTANCE"), "minimumDistance", "Minimum Distance", "The minimum distance to buffer records to account for clipping on the 5' end of the records.", "ldk-integerfield", null, null)
3940
), null, "http://picard.sourceforge.net/command-line-overview.shtml");
4041
}
4142

@@ -60,7 +61,6 @@ public Output processBam(Readset rs, File inputBam, ReferenceGenome referenceGen
6061

6162
output.setBAM(getWrapper().executeCommand(inputBam, outputBam, getClientCommandArgs("=")));
6263

63-
6464
if (sortedBam.exists() && !sortedPreexisting)
6565
{
6666
output.addIntermediateFile(sortedBam);

jbrowse/src/org/labkey/jbrowse/JBrowseRoot.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1440,6 +1440,7 @@ private List<JSONObject> processFile(ExpData data, File outDir, String featureNa
14401440
{
14411441
File temp = null;
14421442
Set<String> nameAttrs = new HashSet<>();
1443+
nameAttrs.add("gene_id");
14431444
nameAttrs.add("gene_name");
14441445
nameAttrs.add("ncbi_geneid");
14451446
nameAttrs.add("ensembl_geneid");

0 commit comments

Comments
 (0)