Output going to stdout?
1
1
Entering edit mode
5.6 years ago
ForrestBear ▴ 30

I'm struggling to represent this syntax with CWL:

vcf-sort -c in_file.vcf > out_file.vcf

Specifically with routing the outfile, as right now, it looks like this will push to stdout.txt.
I'm sure this is simple, but, guidance is appreciated.

cwlVersion: v1.0
class: CommandLineTool
requirements:
  - class: DockerRequirement
    dockerPull: preprocess
inputs: 
  vcf:
    type: File
    inputBinding:
      position: 1
      prefix: -c
outputs: 
  - id: output
    type: File
    outputBinding: 
      glob: "sorted-output.vcf"
baseCommand: vcf-sort
cwl • 1.3k views
ADD COMMENT
5
Entering edit mode
5.6 years ago
outputs: 
  - id: output
    type: stdout

stdout: sorted-output.vcf

:-)

ADD COMMENT
1
Entering edit mode

Thanks so much, Mr C! :)

ADD REPLY

Login before adding your answer.

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