aboutsummaryrefslogtreecommitdiff
path: root/workflows/pangenome-generate/from_sparql.cwl
blob: 380b59c6a260605c1a6c4306646eebef3194e675 (plain)
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
cwlVersion: v1.1
class: CommandLineTool
$namespaces:
  arv: "http://arvados.org/cwl#"
requirements:
  DockerRequirement:
    dockerFile: |
      FROM debian:10
      RUN apt-get update && apt-get -yq --no-install-recommends install samtools python3-rdflib
    dockerImageId: rdflib-and-samtools
  ResourceRequirement:
    ramMin: 768
  arv:RuntimeConstraints:
    keep_cache: 2048
    outputDirType: keep_output_dir
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)]