Skip to content

Commit

Permalink
additional qsub args
Browse files Browse the repository at this point in the history
  • Loading branch information
alexg9010 committed Mar 14, 2018
1 parent b1cd1ce commit 8c464c1
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 @@ -29,6 +29,7 @@ execution:
missing-file-timeout: 120
stack: 128M
contact-email: none
args: ''
rules:
__default__:
threads: 1
Expand Down
2 changes: 2 additions & 0 deletions pigx-bsseq.in
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,8 @@ if config['execution']['submit-to-cluster']:
else:
raise
qsub = "qsub -V %s -l h_stack={cluster.h_stack} -l h_vmem={cluster.MEM} %s -b y -pe smp {cluster.nthreads} -cwd" % ( queue_selection_string, 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 8c464c1

Please sign in to comment.