Change to using django templates for generating condor fastq scripts
[htsworkflow.git] / htsworkflow / templates / split_fastq.condor
diff --git a/htsworkflow/templates/split_fastq.condor b/htsworkflow/templates/split_fastq.condor
new file mode 100644 (file)
index 0000000..3ea0350
--- /dev/null
@@ -0,0 +1,11 @@
+Universe=vanilla
+executable={{ exe }}
+error={{ logdir }}/fastq.$(process).out
+output={{ logdir }}/fastq.$(process).out
+log={{ logdir }}/fastq.log
+{% if env %}environment={{ env }}{% endif %}
+
+{% for arg in args %}
+arguments="{{ arg.pyscript }} -o {{ arg.target }} {% for s in arg.sources %}{{ s }} {% endfor %}
+queue
+{% endfor %}