Skip to content

Output file parameters can appear on command line #137

Closed

Description

@tetron

Propose an input type that represents a filename for a file that doesn't exist yet.

Activity

  1. tetron commented on Oct 26, 2015

    @tetron
    MemberAuthor

    Design sketch:

    class: CommandLineTool
          requirements:
            - import: node-engine.cwl
          inputs:
            - id: "#genome1"
              type: string
    
            - id: "#genome2"
              type: string
    
            - id: "outfilename"
              type: OutputFile
              default: "{genome1}To{genome2}.over.chain.gz"
              inputBinding:
                position: 1
                prefix: "-o"
                valueFrom:
                  engine: node-engine.cwl
                  script: |
                    {
                      var temp=$self.replace("{genome1}",$job['genome1']).replace("{genome2}",$job['genome2']);
                      return temp;
                    }
    
          outputs:
            - id: "#overchain"
              type: File
              outputBinding:
                outputFile: "#outfilename"
    
  2. tetron commented on Nov 4, 2015

    @tetron
    MemberAuthor

    Design sketch:

    class: CommandLineTool
          requirements:
            - import: node-engine.cwl
          inputs:
            - id: "genome1"
              type: string
    
            - id: "genome2"
              type: string
    
          outputs:
            - id: "overchain"
              type: File
              inputBinding:
                position: 1
                prefix: "-o"
                valueFrom: "$($job.genome1)To$($job.genome2).over.chain.gz"
    stdout:
        valueFrom: "#overchain"
    
  3. changed the title [-]OutputFile type[/-] [+]Output file parameters can appear on command line[/+] on Nov 11, 2015
  4. added this to the Draft 3 milestone on Nov 30, 2015
  5. modified the milestones: , Draft 3 on Dec 9, 2015
  6. modified the milestones: unscheduled, on Jun 14, 2016
  7. tetron commented on Jun 14, 2016

    @tetron
    MemberAuthor

    Rejected

  8. removed this from the unscheduled milestone on Dec 13, 2016
  9. added a commit that references this issue on Mar 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions