diff --git a/workflows/kallisto/workflow.cwl b/workflows/kallisto/workflow.cwl index 56e140016e2e12e2da4f02aa5d49d0a1efc7366d..3120f96bc99f073fa144ccbe49fbf4fd7e52772e 100644 --- a/workflows/kallisto/workflow.cwl +++ b/workflows/kallisto/workflow.cwl @@ -8,56 +8,56 @@ requirements: InlineJavascriptRequirement: {} inputs: - IndexInput: File[] - sampleRecord: - type: - type: array - items: - type: record - fields: - readsOfOneSample: - type: File[] - sampleName: - type: string? - isSingle: boolean - FragmentLength: double? - StandardDeviation: double? - BootstrapSamples: int? - resultsFolder: string + IndexInput: File[] + sampleRecord: + type: + type: array + items: + type: record + fields: + readsOfOneSample: + type: File[] + sampleName: + type: string? + isSingle: boolean + FragmentLength: double? + StandardDeviation: double? + BootstrapSamples: int? + resultsFolder: string steps: - index: - run: kallisto-index.cwl - in: - InputFiles: IndexInput - IndexName: - source: IndexInput - valueFrom: $(self[0].nameroot) - out: [index] + index: + run: kallisto-index.cwl + in: + InputFiles: IndexInput + IndexName: + source: IndexInput + valueFrom: $(self[0].nameroot) + out: [index] - quant: - run: kallisto-quant.cwl - scatter: [InputReads, QuantOutfolder] - scatterMethod: dotproduct - in: - InputReads: - source: sampleRecord - valueFrom: $(self.readsOfOneSample) - QuantOutfolder: - source: sampleRecord - valueFrom: $(self.sampleName) - Index: index/index - isSingle: isSingle - FragmentLength: FragmentLength - StandardDeviation: StandardDeviation - BootstrapSamples: BootstrapSamples - out: [kallistoQuantOutDir] - collectResults: - run: ./gather-dirs.cwl - in: - inDirs: quant/kallistoQuantOutDir - destinationDir: resultsFolder - out: [outDir] + quant: + run: kallisto-quant.cwl + scatter: [InputReads, QuantOutfolder] + scatterMethod: dotproduct + in: + InputReads: + source: sampleRecord + valueFrom: $(self.readsOfOneSample) + QuantOutfolder: + source: sampleRecord + valueFrom: $(self.sampleName) + Index: index/index + isSingle: isSingle + FragmentLength: FragmentLength + StandardDeviation: StandardDeviation + BootstrapSamples: BootstrapSamples + out: [kallistoQuantOutDir] + collectResults: + run: ./gather-dirs.cwl + in: + inDirs: quant/kallistoQuantOutDir + destinationDir: resultsFolder + out: [outDir] outputs: kallistoOutDir: