Question: CWLtools version problem with usage of secondary files and java expression
0
gravatar for a.james
7 months ago by
a.james210
Germany
a.james210 wrote:

Dear All,

I have tried using java expression to capture all secondary files from STAR aligner in CWLtools version from 2018 October and 2019 February.

On 2018 October version it is running successfully without any issues, whereas on 2019 February version it is throwing error.

Here is what I tried : the last part where I added secondary files on star.cwl, ignores to capture the log files.

secondaryFiles: |
    ${
         var p=inputs.outFileNamePrefix?inputs.outFileNamePrefix:"";
         return [
           {"path": p+"Log.final.out", "class":"File"},
           {"path": p+"SJ.out.tab", "class":"File"},
           {"path": p+"Log.out", "class":"File"}
         ];
     }

And on 2019 February version the same tool is throwing following error,

May 03 19:09:00 ..... started STAR run
May 03 19:09:00 ..... loading genome
May 03 19:09:19 ..... started mapping
May 03 19:09:50 ..... started sorting BAM
May 03 19:09:52 ..... finished successfully
[job star] Max memory used: 1461MiB
[job star] Job error:
Error collecting output for parameter 'star_bam':
cwltools/star.cwl:182:3: string indices must be integers
[job star] completed permanentFail

Any suggestions help is much appreciated!! Thank you

cwl • 294 views
ADD COMMENTlink modified 7 months ago • written 7 months ago by a.james210
1

I solved the issue . https://github.com/common-workflow-language/cwltool/issues/1110

ADD REPLYlink written 7 months ago by a.james210
2
gravatar for a.james
7 months ago by
a.james210
Germany
a.james210 wrote:

I solved the issue . https://github.com/common-workflow-language/cwltool/issues/1110

ADD COMMENTlink written 7 months ago by a.james210
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1687 users visited in the last hour