CWL workflow - nested_crossproduct output
0
1
Entering edit mode
3.7 years ago
cocchi.e89 ▴ 290

I am working on some GATK gCNV calls through CWL. I am wondering how I can pass a scattered group in the script. I have:

  CollectReadCounts:
    run: CollectReadCounts.v0.cwl
    in:
      interval_list: PreprocessIntervals/PreprocessIntervals_OUT
      reference_fasta: reference_fasta
      reference_index: reference_index
      reference_dict: reference_dict
      bam_file: bam_file_array
      coresMin: coresMin
      ramMin: ramMin
    scatter: [ interval_list, bam_file ]
    scatterMethod: nested_crossproduct
    out: [ CollectReadCounts_OUT ]

but I can't get the ouput:

outputs:
  CollectReadCounts_OUT:
    type:
      type: array
      items: File
    outputSource: CollectReadCounts/CollectReadCounts_OUT

cause it keeps failing with:

gCNV-CHR-workflow.wFILTER_INTERVALS.v0.cwl:53:12: Source 'CollectReadCounts_OUT' of type {"items": {"items": "File", "type": "array"}, "type": "array"} is incompatible
gCNV-CHR-workflow.wFILTER_INTERVALS.v0.cwl:86:5:   with sink 'CollectReadCounts_OUT' of type {"type": "array", "items": "File"}

What is the correct way to specify a nested_crossproduct output??

CWL scatter workflow nested_crossproduct • 853 views
ADD COMMENT
0
Entering edit mode

Hello, sorry for just now seeing this. Support for CWL and the CWL reference runner has moved from biostars to https://cwl.discourse.group/ ; can you post your question there?

ADD REPLY

Login before adding your answer.

Traffic: 1474 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6