Skip to content

Commit 8724db9

Browse files
committed
removed depricated python option
1 parent 713ba1d commit 8724db9

File tree

3 files changed

+0
-22
lines changed

3 files changed

+0
-22
lines changed

halvade/src/be/ugent/intec/halvade/HalvadeOptions.java

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ public class HalvadeOptions {
5555
public String ref;
5656
public String STARGenome = null;
5757
public String java = null;
58-
public String python = null;
5958
public String gff = null;
6059
public String tmpDir = "/tmp/halvade/";
6160
public String localRefDir = null;
@@ -163,9 +162,6 @@ public int GetOptions(String[] args, Configuration hConf) throws IOException, UR
163162
if (java != null) {
164163
HalvadeConf.setJava(hConf, java);
165164
}
166-
if (python != null) {
167-
HalvadeConf.setPython(hConf, python);
168-
}
169165
if (gff != null) {
170166
HalvadeConf.setGff(hConf, gff);
171167
}
@@ -378,10 +374,6 @@ protected void createOptions() {
378374
.withDescription("Sets the bed file containing relevant (Exome) regions which "
379375
+ " will be used to filter in the GATK steps.")
380376
.create("fbed");
381-
Option optPython = OptionBuilder.withArgName("python")
382-
.hasArg()
383-
.withDescription("Sets the location of the python binary if regular python command doesn't work.")
384-
.create("python");
385377
Option optGff = OptionBuilder.withArgName("gff")
386378
.hasArg()
387379
.withDescription("Sets the gff file to be used with HTSeq-Count. This is required to run HTSeq-Count.")
@@ -467,7 +459,6 @@ protected void createOptions() {
467459
options.addOption(optCov);
468460
options.addOption(optMpn);
469461
options.addOption(optGff);
470-
options.addOption(optPython);
471462
options.addOption(optRpn);
472463
options.addOption(optDry);
473464
options.addOption(optDrop);
@@ -564,9 +555,6 @@ protected boolean parseArguments(String[] args, Configuration halvadeConf) throw
564555
if (line.hasOption("J")) {
565556
java = line.getOptionValue("J");
566557
}
567-
if (line.hasOption("python")) {
568-
python = line.getOptionValue("python");
569-
}
570558
if (line.hasOption("gff")) {
571559
gff = line.getOptionValue("gff");
572560
}

halvade/src/be/ugent/intec/halvade/hadoop/mapreduce/HalvadeReducer.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ public class HalvadeReducer extends Reducer<ChromosomeRegion, SAMRecordWritable,
5454
protected String RGPL = "ILLUMINA";
5555
protected String RGPU = "UNIT1";
5656
protected String RGSM = "SAMPLE1";
57-
protected String python;
5857
protected int threads;
5958
protected int taskNr;
6059
protected String referenceName;
@@ -140,7 +139,6 @@ protected void setup(Context context) throws IOException, InterruptedException {
140139
taskId = context.getTaskAttemptID().toString();
141140
taskId = taskId.substring(taskId.indexOf("r_"));
142141
taskNr = Integer.parseInt(taskId.split("_")[1]);
143-
python = HalvadeConf.getPython(context.getConfiguration());
144142
outputdir = HalvadeConf.getOutDir(context.getConfiguration());
145143
if(inputIsBam) {
146144
header = SAMHeaderReader.readSAMHeaderFrom(new Path(HalvadeConf.getHeaderFile(context.getConfiguration())), context.getConfiguration());

halvade/src/be/ugent/intec/halvade/utils/HalvadeConf.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -198,14 +198,6 @@ public static void setGff(Configuration conf, String val) {
198198
conf.set(gff, val);
199199
}
200200

201-
private static final String python = "python";
202-
public static String getPython(Configuration conf) {
203-
return conf.get(python, "python");
204-
}
205-
public static void setPython(Configuration conf, String val) {
206-
conf.set(python, val);
207-
}
208-
209201
private static final String readgroup = "readgroup";
210202
public static void setReadGroup(Configuration conf, String val) {
211203
conf.set(readgroup, val);

0 commit comments

Comments
 (0)