This section of the forum is no longer actively monitored. We are working on a support migration plan that we will share here shortly. Apologies for this inconvenience.
What does 'scatter (sample_index in range(length(CollectCounts.entity_id)))' do?
I need to know what
scatter (sample_index in range(length(CollectCounts.entity_id))) does. This is in the context of the gCNV workflow and this line comes from https://github.com/broadinstitute/gatk/blob/184.108.40.206/scripts/cnv_wdl/germline/cnv_germline_cohort_workflow.wdl#L307.
I assumed it was looking for the length of the array based on the WDL specification for length: