cwl: Multiple matches for output item that is a single file
2
0
Entering edit mode
4.8 years ago
lizhichao ▴ 80

I write as the follows: it stats array type: - 'null' - File - type: array items: File outputBinding: glob: '*.fq.gz'

error:soapnuke. cwl:215:5: Multiple matches for output item that is a single file. Why ?

cwl • 2.1k views
ADD COMMENT
0
Entering edit mode

Please provide the related .cwl document. Use the 'Code Sample' button to format it.

Please put more effort into your posts. You expect people to take the time to provide solutions to your questions, but you never provide even the most basic information.

ADD REPLY
1
Entering edit mode
4.8 years ago
lizhichao ▴ 80
    outputs:
  - id: clean_fqs
    doc: |-
      1.soapnuke filter
    type:
      - 'null'
      - File
      - type: array
        items: File
    outputBinding:
      glob: '*.fq.gz'
  - id: clean_check
    type:
      - 'null'
      - File
      - type: array
        items: File
    outputBinding:
      glob: '*clean.fqcheck'
  - id: qual
    type:
      - 'null'
      - File
      - type: array
        items: File
    outputBinding:
      glob: '*.qual.png'
  - id: base
    type:
      - 'null'
      - File
      - type: array
        items: File
    outputBinding:
      glob: '*.base.png'
  - id: stat
    type:
      - 'null'
      - File
      - type: array
        items: File
    outputBinding:
      glob: '*.stat'

The above is my cwl's outputs.The error is :Multiple matches for output item that is a single file I dont understand it ,maybe the glob syntax? Sorry for my improper question format.

ADD COMMENT
1
Entering edit mode
4.8 years ago
lizhichao ▴ 80

I modify to this, its ok .so the above is wrong? I obey the rabix introduction

outputs:
  - id: clean_fqs
    doc: |-
      1.soapnuke filter
    type:
       type: array
       items: File
    outputBinding:
      glob: '*.fq.gz'
  - id: clean_check
    type:
       type: array
       items: File
    outputBinding:
      glob: '*clean.fqcheck'
  - id: qual
    type:
       type: array
       items: File
    outputBinding:
      glob: '*.qual.png'
  - id: base
    type:
       type: array
       items: File
    outputBinding:
      glob: '*.base.png'
  - id: stat
    type:
       type: array
       items: File
    outputBinding:
   ....
ADD COMMENT
0
Entering edit mode

This is definitely a correct way of catching multiple .fq.gz files. I'm not familiar with the style of notation you used in the first version, i can't figure out why it failed. Sorry! Maybe somebody else can help.

ADD REPLY

Login before adding your answer.

Traffic: 1959 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