Commit c640dc87 authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Fixed reference

parent a39f363c
......@@ -324,7 +324,7 @@ trait CommandLineGATK extends BiopetJavaCommandLineFunction with Reference with
override def beforeGraph() {
super.beforeGraph()
if (reference_sequence != null) reference_sequence = referenceFasta()
if (reference_sequence == null) reference_sequence = referenceFasta()
input_fileIndexes ++= input_file.filter(orig => orig != null && orig.getName.endsWith(".bam")).flatMap(orig => Array(new File(orig.getPath + ".bai"), new File(orig.getPath.stripSuffix(".bam") + ".bai")))
if (num_threads.isDefined) nCoresRequest = num_threads
if (num_cpu_threads_per_data_thread.isDefined) nCoresRequest = Some(nCoresRequest.getOrElse(1) * num_cpu_threads_per_data_thread.getOrElse(1))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment