File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -294,10 +294,6 @@ task illumina_demux {
294294
295295 illumina.py flowcell_metadata --inDir $FLOWCELL_DIR flowcellMetadataFile.tsv
296296
297- # output machine model and lane count
298- grep "machine" flowcellMetadataFile.tsv | cut -f2 | tee MACHINE_MODEL
299- grep "lane_count" flowcellMetadataFile.tsv | cut -f2 | tee LANE_COUNT
300-
301297 mkdir -p unmatched
302298 mv Unmatched.bam unmatched /
303299
@@ -359,8 +355,8 @@ task illumina_demux {
359355 Int runtime_sec = ceil (read_float ("UPTIME_SEC" ))
360356 Int cpu_load_15min = ceil (read_float ("LOAD_15M" ))
361357
362- String instrument_model = read_string ( "MACHINE_MODEL" )
363- String flowcell_lane_count = read_string ( "LANE_COUNT" )
358+ String instrument_model = read_json ( "~{ out_base }-runinfo.json" )[ "sequencer_model" ]
359+ String flowcell_lane_count = read_json ( "~{ out_base }-runinfo.json" )[ "lane_count" ]
364360
365361 String viralngs_version = read_string ("VERSION" )
366362
You can’t perform that action at this time.
0 commit comments