Skip to content

Commit

Permalink
bugfix Coordinate Manipulation logging
Browse files Browse the repository at this point in the history
Fix subcommand string in command string construction in getCLIcommand across CLI classes
  • Loading branch information
owlang committed Oct 17, 2023
1 parent b575bea commit d808a7c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ private String validateInput() throws IOException {
}

public static String getCLIcommand(File OUTPUT, File BED, boolean gzOutput) {
String command = "java -jar $SCRIPTMANAGER bed-manipulation bed-to-gff";
String command = "java -jar $SCRIPTMANAGER coordinate-manipulation bed-to-gff";
command += " " + BED.getAbsolutePath();
command += gzOutput ? " -z" : "";
command += " -o " + OUTPUT;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ private String validateInput() throws IOException {
return(r);
}
public static String getCLIcommand(File bedFile, File output, int size, boolean gzOutput, boolean byCenter) {
String command = "java -jar $SCRIPTMANAGER bed-manipulation expand-bed";
String command = "java -jar $SCRIPTMANAGER coordinate-manipulation expand-bed";
command += " " + bedFile.getAbsolutePath();
command += gzOutput ? " -z " : "";
command += " -o " + output.getAbsolutePath();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ else if( center<0 ){
}

public static String getCLIcommand(File OUTPUT, File BED, File CDT, int startidx, int stopidx, boolean gzOutput) {
String command = "java -jar $SCRIPTMANAGER bed-manipulation sortBED";
String command = "java -jar $SCRIPTMANAGER coordinate-manipulation sort-bed";
command += " " + BED.getAbsolutePath();
command += " " + CDT.getAbsolutePath();
command += " -x " + startidx + " " + stopidx;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ private String validateInput() throws IOException {
return(r);
}
public static String getCLIcommand(File bedFile, File output, int size, boolean byCenter) {
String command = "java -jar $SCRIPTMANAGER gff-manipulation expand-gff";
String command = "java -jar $SCRIPTMANAGER coordinate-manipulation expand-gff";
command += " " + bedFile.getAbsolutePath();
command += " -o " + output.getAbsolutePath();
command += byCenter ? " -c " + size : " -b " + size;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ private String validateInput() throws IOException {
return(r);
}
public static String getCLIcommand(File GFF, File output) {
String command = "java -jar $SCRIPTMANAGER gff-manipulation gff-to-bed";
String command = "java -jar $SCRIPTMANAGER coordinate-manipulation gff-to-bed";
command += " " + GFF.getAbsolutePath();
command += " -o " + output.getAbsolutePath();
return command;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ else if( center<0 ){
return(r);
}
public static String getCLIcommand(File OUTPUT, File BED, File CDT, int startidx, int stopidx) {
String command = "java -jar $SCRIPTMANAGER gff-manipulation sortGFF";
String command = "java -jar $SCRIPTMANAGER coordinatesort-manipulation sort-gff";
command += " " + BED.getAbsolutePath();
command += " " + CDT.getAbsolutePath();
command += " -x " + startidx + " " + stopidx;
Expand Down

0 comments on commit d808a7c

Please sign in to comment.