Dynamic Job Mapping in Galaxy Simplified
Eric Enns
Public Health Agency of Canada
Presented at GCC2015
OR
jobConfig.py
Job_conf.xml
<destinations default="dynamic_job"/>
<destination id="dynamic_job" runner="dynamic">
<param id="type">python</param>
<param id="function">configure_job</param>�</destination>
<destination id=”dynamic_default” runner=”drmaa”>
</destinations>
job_options.xml
<j
<condition
type="filesize"
lbound="4 GB"
hbound="-1"
err_msg="Too much data, shouldn't run"
param="fail" />
<jobs>
<job name=”spades”>
<condition type=”filesize” lbound=”0” hbound=”10 MB”
err_msg=”Too few reads for spades to work” param=”fail” />
<condition type="filesize" lbound="4 GB" hbound="-1"
err_msg="Too much data, shouldn't run" param="fail" />
<condition type="filesize" lbound="10 MB" hbound="2 GB"
param="-q test.q -pe galaxy 24 -l h_vmem=15G" />
<condition type="filesize" lbound="2 GB" hbound="4 GB"
param="-q test.q -pe galaxy 48 -l h_vmem=96G" />
</job>�</jobs>
Future Work
Acknowledgements
Daniel Bouchard
Philip Mabon