- doc: | Test to verify collection flatten collection operation mid workflow. job: input_fastqs: class: Collection collection_type: list elements: - identifier: samp1 class: File contents: "0 mycoolline\n1 mysecondline\n" outputs: out: class: Collection collection_type: list elements: 'samp1-0': asserts: - that: has_text text: "mycoolline" 'samp1-1': asserts: - that: has_text text: "mysecondline"