aboutsummaryrefslogtreecommitdiff
path: root/workflows/fastq2fasta/samtools-faidx.cwl
blob: 51966073f29016bd55fe7a9c2a551e64a89ca9e3 (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
31
32
33
34
35
36
37
38
39
#!/usr/bin/env cwl-runner
cwlVersion: v1.0
class: CommandLineTool
doc: "samtools sort, sort given bam file"
requirements:
  DockerRequirement:
    dockerPull: quay.io/biocontainers/samtools:1.9--h8571acd_11
  InitialWorkDirRequirement:
    listing:
      - $(inputs.input_fasta)
baseCommand: [samtools, faidx]
inputs:
  input_fasta:
    type: File
    label: "Input fasta"
    inputBinding:
      position: 1
    secondaryFiles:
      - .amb
      - .ann
      - .bwt
      - .pac
      - .sa
outputs:
  indexed_fasta:
    type: File
    outputBinding:
      glob: "$(inputs.input_fasta.basename)"
    secondaryFiles:
      - .amb
      - .ann
      - .bwt
      - .pac
      - .sa
      - .fai
  stdout: stdout
  stderr: stderr
stdout: samtools-sort-stdout.log
stderr: samtools-sort-stderr.log