@@ -186,16 +186,17 @@ workflow humanwgs_singleton {
186186
187187 Map [String , Array [String ]] stats = {
188188 'sample_id' : [sample_id ],
189- 'num_reads ' : [downstream .stat_num_reads ],
189+ 'read_count ' : [downstream .stat_read_count ],
190190 'read_length_mean' : [downstream .stat_read_length_mean ],
191191 'read_length_median' : [downstream .stat_read_length_median ],
192192 'read_length_n50' : [downstream .stat_read_length_n50 ],
193193 'read_quality_mean' : [downstream .stat_read_quality_mean ],
194194 'read_quality_median' : [downstream .stat_read_quality_median ],
195195 'mapped_read_count' : [downstream .stat_mapped_read_count ],
196- 'mapped_percent' : [downstream .stat_mapped_percent ],
197- 'mean_gap_compressed_identity' : [downstream .stat_mean_gap_compressed_identity ],
198- 'mean_depth' : [upstream .stat_mean_depth ],
196+ 'mapped_read_percent' : [downstream .stat_mapped_read_percent ],
197+ 'gap_compressed_identity_mean' : [downstream .stat_gap_compressed_identity_mean ],
198+ 'gap_compressed_identity_median' : [downstream .stat_gap_compressed_identity_median ],
199+ 'depth_mean' : [upstream .stat_depth_mean ],
199200 'inferred_sex' : [upstream .inferred_sex ],
200201 'stat_phased_basepairs' : [downstream .stat_phased_basepairs ],
201202 'phase_block_ng50' : [downstream .stat_phase_block_ng50 ],
@@ -233,20 +234,21 @@ workflow humanwgs_singleton {
233234 File msg_file = consolidate_stats .messages
234235
235236 # bam stats
236- File bam_statistics = downstream .bam_statistics
237- File read_length_plot = downstream .read_length_plot
238- File ? read_quality_plot = downstream .read_quality_plot
239- File mapq_distribution_plot = downstream .mapq_distribution_plot
240- File mg_distribution_plot = downstream .mg_distribution_plot
241- String stat_num_reads = downstream .stat_num_reads
242- String stat_read_length_mean = downstream .stat_read_length_mean
243- String stat_read_length_median = downstream .stat_read_length_median
244- String stat_read_length_n50 = downstream .stat_read_length_n50
245- String stat_read_quality_mean = downstream .stat_read_quality_mean
246- String stat_read_quality_median = downstream .stat_read_quality_median
247- String stat_mapped_read_count = downstream .stat_mapped_read_count
248- String stat_mapped_percent = downstream .stat_mapped_percent
249- String stat_mean_gap_compressed_identity = downstream .stat_mean_gap_compressed_identity
237+ File bam_statistics = downstream .bam_statistics
238+ File read_length_plot = downstream .read_length_plot
239+ File ? read_quality_plot = downstream .read_quality_plot
240+ File mapq_distribution_plot = downstream .mapq_distribution_plot
241+ File mg_distribution_plot = downstream .mg_distribution_plot
242+ String stat_read_count = downstream .stat_read_count
243+ String stat_read_length_mean = downstream .stat_read_length_mean
244+ String stat_read_length_median = downstream .stat_read_length_median
245+ String stat_read_length_n50 = downstream .stat_read_length_n50
246+ String stat_read_quality_mean = downstream .stat_read_quality_mean
247+ String stat_read_quality_median = downstream .stat_read_quality_median
248+ String stat_mapped_read_count = downstream .stat_mapped_read_count
249+ String stat_mapped_read_percent = downstream .stat_mapped_read_percent
250+ String stat_gap_compressed_identity_mean = downstream .stat_gap_compressed_identity_mean
251+ String stat_gap_compressed_identity_median = downstream .stat_gap_compressed_identity_median
250252
251253 # merged, haplotagged alignments
252254 File merged_haplotagged_bam = downstream .merged_haplotagged_bam
@@ -257,7 +259,7 @@ workflow humanwgs_singleton {
257259 File mosdepth_region_bed = upstream .mosdepth_region_bed
258260 File mosdepth_region_bed_index = upstream .mosdepth_region_bed_index
259261 File mosdepth_depth_distribution_plot = upstream .mosdepth_depth_distribution_plot
260- String stat_mean_depth = upstream .stat_mean_depth
262+ String stat_depth_mean = upstream .stat_depth_mean
261263 String inferred_sex = upstream .inferred_sex
262264
263265 # phasing stats
0 commit comments