You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/cli/Figure_Generation/ThreeColorHeatMapCLI.java
+25-2Lines changed: 25 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -76,7 +76,7 @@ static class MaxGroup {
76
76
@Option(names = {"-0", "--include-zeros"}, description = "used with `-p` flag, indicating exclusion of zero values when calculating percentile thresholds")
@Option(names = {"-cn", "--color-min"}, description = "Color indicating minimum values (default=YELLOW) For custom color: type hexadecimal string to represent colors (e.g. \"FF0000\" is hexadecimal for red).\n See <http://www.javascripter.net/faq/rgbtohex.htm> for some color options with their corresponding hex strings.\n")
@@ -88,7 +88,20 @@ static class ColorGroup {
88
88
@Option(names = {"-ca", "--color-nan"}, description = "Color indicating not-a-number values (default=GRAY) For custom color: type hexadecimal string to represent colors (e.g. \"FF0000\" is hexadecimal for red).\n See <http://www.javascripter.net/faq/rgbtohex.htm> for some color options with their corresponding hex strings.\n")
Copy file name to clipboardExpand all lines: src/cli/Figure_Generation/TwoColorHeatMapCLI.java
+17-21Lines changed: 17 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,6 @@ public class TwoColorHeatMapCLI implements Callable<Integer> {
56
56
57
57
@ArgGroup(exclusive = true, multiplicity = "0..1", heading = "%nSelect heatmap color:%n\t@|fg(red) (select no more than one of these options)|@%n")
58
58
privateColorGroupcolor = newColorGroup();
59
-
60
59
staticclassColorGroup {
61
60
@Option(names = { "--black" }, description = "Use the color black for generating the heatmap (default)")
62
61
privatebooleanblack = false;
@@ -68,6 +67,12 @@ static class ColorGroup {
68
67
"--color" }, description = "For custom color: type hexadecimal string to represent colors (e.g. \"FF0000\" is hexadecimal for red).\n See <http://www.javascripter.net/faq/rgbtohex.htm> for some color options with their corresponding hex strings.\n")
69
68
privateStringcustom = null;
70
69
}
70
+
@Option(names = { "-t", "--transparent" }, description = "Value indicating transparency of heatmap, 0 to 255 (default=255)\n")
71
+
privateintalpha = 255;
72
+
73
+
@Option(names = { "-b", "--background" }, description = "Set a transparent background for the heatmap minimum values (default=white)\n")
74
+
privatebooleantransparentBackground = false;
75
+
71
76
72
77
StringscaleType = "treeview";
73
78
ColorMAXCOLOR = Color.BLACK;
@@ -84,7 +89,7 @@ public Integer call() throws Exception {
Copy file name to clipboardExpand all lines: src/cli/Read_Analysis/TagPileupCLI.java
+50-65Lines changed: 50 additions & 65 deletions
Original file line number
Diff line number
Diff line change
@@ -58,6 +58,18 @@ static class OutputOptions{
58
58
privatebooleantab = false;
59
59
}
60
60
61
+
//Aspect
62
+
@ArgGroup(exclusive = true, multiplicity = "0..1", heading = "%nSelect Aspect of Read to output:%n\t@|fg(red) (select no more than one of these options)|@%n")
63
+
AspectTypeaspectType = newAspectType();
64
+
staticclassAspectType {
65
+
@Option(names = {"-5", "--five-prime"}, description = "pileup of 5' end of read(default)")
66
+
booleanfiveprime = false;
67
+
@Option(names = {"-3", "--three-prime"}, description = "pileup of 3' end of read")
if(smoothType.winVals!=-9999 && smoothType.winVals<1){ r += "(!)Invalid Smoothing Window Size. Must be larger than 0 bins, winSize=" + smoothType.winVals + "\n"; }
221
206
if(smoothType.winVals!=-9999 && smoothType.winVals%2==0){ r += "(!)Invalid Smoothing Window Size. Must be odd for symmetrical smoothing (so that the window is centered properly), winSize=" + smoothType.winVals + "\n"; }
222
207
if(smoothType.gaussVals[0]!=-9999 && smoothType.gaussVals[0]<1){ r += "(!)Invalid Standard Deviation Size. Must be larger than 0 bins, stdSize=" + smoothType.gaussVals[0] + "\n"; }
223
208
if(smoothType.gaussVals[1]!=-9999 && smoothType.gaussVals[1]<1){ r += "(!)Invalid Number of Standard Deviations. Must be larger than 0 standard deviations, stdNum=" + smoothType.gaussVals[1] + "\n"; }
0 commit comments