Commit f6410c6a authored by Andreas Kusalananda Kähäri's avatar Andreas Kusalananda Kähäri
Browse files

Allow the user to set some LSF parameters for the exonerate job by using

"lsf_opt_exonerate" in the configuration file.
parent ca577d43
......@@ -454,8 +454,12 @@ sub run_exonerate {
$self->logger->info("Submitting $num_jobs exonerate jobs to lsf.\n");
my $bsub_cmd = sprintf( "|bsub -J%s[1-%d] -o %s/exonerate.%%I.out %s",
$lsf_name, $num_jobs, $logpath,
$self->conf()->param('lsf_opt_exonerate') );
local *BSUB;
open BSUB, "|bsub -J$lsf_name\[1-$num_jobs\] -o $logpath/exonerate.\%I.out"
open( BSUB, $bsub_cmd )
or $self->logger->error("Could not open open pipe to bsub: $!\n");
print BSUB $exonerate_job;
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