File: random_lines_mapping.cwl

package info (click to toggle)
cwltool 1.0.20181217162649%2Bdfsg-10
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,632 kB
  • sloc: python: 11,008; makefile: 153; sh: 22
file content (30 lines) | stat: -rwxr-xr-x 533 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/usr/bin/env cwl-runner
cwlVersion: v1.0
class: CommandLineTool
id: "random_lines"
doc: "Select random lines from a file"
inputs:
  - id: seed
    type: int
    inputBinding:
      position: 1
      prefix: -s
  - id: input1
    type: File
    inputBinding:
      position: 2
  - id: num_lines
    type: int
    inputBinding:
      position: 3
outputs:
  output1:
    type: stdout
baseCommand: ["random-lines"]
arguments: []
hints:
  SoftwareRequirement:
    packages:
    - package: randomLines
      version:
      - '1.0.0-rc1'