You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: "Illumina BCL directory compressed as tarball. Must contain RunInfo.xml (unless overridden by runinfo), SampleSheet.csv (unless overridden by samplesheet), RTAComplete.txt, and Data/Intensities/BaseCalls/*",
# if we are overriding the RunInfo file, use the path of the file provided. Otherwise find the file
84
-
if [ -n"${runinfo}" ]; then
85
-
RUNINFO_FILE="${runinfo}"
131
+
if [ -n"~{runinfo}" ]; then
132
+
RUNINFO_FILE="~{runinfo}"
86
133
else
87
134
# full RunInfo.xml path
88
135
RUNINFO_FILE="$(find $FLOWCELL_DIR -type f -name RunInfo.xml | head -n 1)"
@@ -157,45 +204,48 @@ task illumina_demux {
157
204
158
205
# use the passed-in (or default) WDL value first, then fall back to the auto-scaled value
159
206
# if the result of this is null (nothing is passed in, no autoscaled value, no param is passed to the command)
160
-
if [ -n"${minimumBaseQuality}" ]; thendemux_min_base_quality="${minimumBaseQuality}"; elsedemux_min_base_quality="$demux_min_base_quality"; fi
207
+
if [ -n"~{minimumBaseQuality}" ]; thendemux_min_base_quality="~{minimumBaseQuality}"; elsedemux_min_base_quality="$demux_min_base_quality"; fi
161
208
if [ -n"$demux_min_base_quality" ]; thendemux_min_base_quality="--minimum_base_quality=$demux_min_base_quality";fi
162
209
163
-
if [ -n"${threads}" ]; thendemux_threads="${threads}"; elsedemux_threads="$demux_threads"; fi
210
+
if [ -n"~{threads}" ]; thendemux_threads="~{threads}"; elsedemux_threads="$demux_threads"; fi
164
211
if [ -n"$demux_threads" ]; thendemux_threads="--threads=$demux_threads"; fi
165
212
166
213
167
-
if [ -n"${maxReadsInRamPerTile}" ]; thenmax_reads_in_ram_per_tile="${maxReadsInRamPerTile}"; elsemax_reads_in_ram_per_tile="$max_reads_in_ram_per_tile"; fi
214
+
if [ -n"~{maxReadsInRamPerTile}" ]; thenmax_reads_in_ram_per_tile="~{maxReadsInRamPerTile}"; elsemax_reads_in_ram_per_tile="$max_reads_in_ram_per_tile"; fi
168
215
if [ -n"$max_reads_in_ram_per_tile" ]; thenmax_reads_in_ram_per_tile="--max_reads_in_ram_per_tile=$max_reads_in_ram_per_tile"; fi
169
216
170
-
if [ -n"${maxRecordsInRam}" ]; thenmax_records_in_ram="${maxRecordsInRam}"; elsemax_records_in_ram="$max_records_in_ram"; fi
217
+
if [ -n"~{maxRecordsInRam}" ]; thenmax_records_in_ram="~{maxRecordsInRam}"; elsemax_records_in_ram="$max_records_in_ram"; fi
171
218
if [ -n"$max_records_in_ram" ]; thenmax_records_in_ram="--max_records_in_ram=$max_records_in_ram"; fi
172
219
173
220
# note that we are intentionally setting --threads to about 2x the core
174
221
# count. seems to still provide speed benefit (over 1x) when doing so.
0 commit comments