Skip to content

Commit e1b3308

Browse files
committed
Support more arguments for PrintReadBackedHaplotypes
1 parent 5ab9d0e commit e1b3308

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

SequenceAnalysis/src/org/labkey/sequenceanalysis/analysis/PrintReadBackedHaplotypesHandler.java

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,15 @@ public PrintReadBackedHaplotypesHandler()
4848
put("minValue", 0);
4949
put("maxValue", 1.0);
5050
put("decimalPrecision", 2);
51-
}}, null)
51+
}}, null),
52+
ToolParameterDescriptor.createCommandLineParam(CommandLineParam.create("-mr"), "minReadsToReport", "Min Reads To Report", "If specified, only haplotypes with at least this many reads will be reported", "ldk-integerfield", new JSONObject(){{
53+
put("minValue", 0);
54+
}}, null),
55+
ToolParameterDescriptor.createCommandLineParam(CommandLineParam.create("-mrf"), "minReadFractionToReport", "Min Read Fraction To Report", "If specified, only haplotypes representing at least this fraction of total haplotypes will be reported", "ldk-numberfield", new JSONObject(){{
56+
put("minValue", 0);
57+
put("maxValue", 1.0);
58+
put("decimalPrecision", 2);
59+
}}, 0.01)
5260
));
5361
}
5462

0 commit comments

Comments
 (0)