aboutsummaryrefslogtreecommitdiff
path: root/workflows/pangenome-generate/from_sparql.cwl
blob: 5bc079243a23704291aabb45b2bf3929584db088 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
cwlVersion: v1.1
class: CommandLineTool
requirements:
  DockerRequirement:
    dockerFile: |
      FROM debian:10
      RUN apt-get update && apt-get -yq --no-install-recommends install samtools python3-rdflib
    dockerImageId: rdflib-and-samtools
inputs:
  script:
    type: File
    default:
      class: File
      location: from_sparql.py
  metadata: File
  fasta:
    type: File
    secondaryFiles: [.fai]
  query: string
stdout: selected.fasta
outputs:
  selected: stdout
arguments: [python3, $(inputs.script), $(inputs.metadata), $(inputs.fasta), $(inputs.query)]