Skip to content

Commit

Permalink
add additional arguments to qsub; this addresses BIMSBbioinfo/pigx#8
Browse files Browse the repository at this point in the history
  • Loading branch information
alexg9010 committed Mar 14, 2018
1 parent a2efc74 commit 464de4f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions etc/settings.yaml.in
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ execution:
stack: 128M
queue: all
contact-email: none
args: ''
rules:
__default__:
threads: 1
Expand Down
2 changes: 2 additions & 0 deletions pigx-rnaseq.in
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,8 @@ if config['execution']['submit-to-cluster']:
else:
raise
qsub = "qsub -V -l h_stack={cluster.h_stack} -l h_vmem={cluster.MEM} %s -b y -pe smp {cluster.nthreads} -cwd" % contact_email_string
if config['execution']['cluster']['args']:
qsub += " " + config['execution']['cluster']['args']
command += [
"--cluster-config={}".format(cluster_config_file),
"--cluster={}".format(qsub),
Expand Down

0 comments on commit 464de4f

Please sign in to comment.