What does 'scatter (sample_index in range(length(CollectCounts.entity_id)))' do?

shleeshlee CambridgeMember, Broadie, Moderator admin

Hi,

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/4.0.11.0/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:

Thanks.

Sign In or Register to comment.