--- /dev/null
+
+To test this:
+
+ mkdir rnaseq
+ cd rnaseq
+ wget --mirror --no-parent --no-host --cut-dirs=1 https://download.jutro.arvadosapi.com/c=9178fe1b80a08a422dbe02adfd439764+925/
+ cd ..
+
+Then:
+
+ arvados-cwl-runner STAR-index-broken.cwl STAR-index.yml
+
+or:
+
+ arvados-cwl-runner STAR-index.cwl STAR-index.yml
+
--- /dev/null
+#!/usr/bin/env cwl-runner
+cwlVersion: v1.0
+class: CommandLineTool
+
+requirements:
+ DockerRequirement:
+ dockerPull: "quay.io/biocontainers/star:2.7.5c--0"
+
+inputs:
+
+ InputFiles:
+ format: http://edamontology.org/format_1930
+ type: File[]
+ inputBinding:
+ prefix: "--genomeFastaFiles"
+
+ IndexName:
+ type: string
+ inputBinding:
+ prefix: "--genomeDir"
+ valueFrom: ./$(self)
+
+#Optional Inputs
+
+ Gtf:
+ type: File?
+ inputBinding:
+ prefix: "--sjdbGTFfile"
+
+ Overhang:
+ type: int?
+ inputBinding:
+ prefix: "--sjdbOverhang"
+
+ Junctions:
+ type: File?
+ inputBinding:
+ prefix: "--sjdbFileChrStartEnd"
+
+ GenomeSize:
+ type: int?
+ inputBinding:
+ prefix: "--genomeSAindexNbases"
+
+ GenomeBits:
+ type: int?
+ inputBinding:
+ prefix: "--genomeChrBinNbits"
+
+baseCommand: [STAR, --runMode, genomeGenerate]
+
+arguments: [--runThreadN, $(runtime.cores)]
+
+outputs:
+ indexes:
+ type: Directory
+ outputBinding:
+ glob: ./$(inputs.IndexName)/
--- /dev/null
+#!/usr/bin/env cwl-runner
+cwlVersion: v1.0
+class: CommandLineTool
+
+requirements:
+ DockerRequirement:
+ dockerPull: "quay.io/biocontainers/star:2.7.5c--0"
+ ResourceRequirement:
+ coresMin: 2
+ ramMin: 12000
+
+inputs:
+
+ InputFiles:
+ format: http://edamontology.org/format_1930
+ type: File[]
+ inputBinding:
+ prefix: "--genomeFastaFiles"
+
+ IndexName:
+ type: string
+ inputBinding:
+ prefix: "--genomeDir"
+ valueFrom: ./$(self)
+
+#Optional Inputs
+
+ Gtf:
+ type: File?
+ inputBinding:
+ prefix: "--sjdbGTFfile"
+
+ Overhang:
+ type: int?
+ inputBinding:
+ prefix: "--sjdbOverhang"
+
+ Junctions:
+ type: File?
+ inputBinding:
+ prefix: "--sjdbFileChrStartEnd"
+
+ GenomeSize:
+ type: int?
+ inputBinding:
+ prefix: "--genomeSAindexNbases"
+
+ GenomeBits:
+ type: int?
+ inputBinding:
+ prefix: "--genomeChrBinNbits"
+
+baseCommand: [STAR, --runMode, genomeGenerate]
+
+arguments: [--runThreadN, $(runtime.cores)]
+
+outputs:
+ indexes:
+ type: Directory
+ outputBinding:
+ glob: ./$(inputs.IndexName)/
--- /dev/null
+InputFiles:
+ - class: File
+ location: rnaseq/reference_data/chr1.fa
+ format: http://edamontology.org/format_1930
+IndexName: 'hg19-chr1-STAR-index'
+Gtf:
+ class: File
+ location: rnaseq/reference_data/chr1-hg19_genes.gtf
+Overhang: 99