diff --git a/workflows/kallisto/gather-dirs.cwl b/workflows/kallisto/gather-dirs.cwl index c7a13f50c1bd08836574a800142fdf549f4c8628..a11ef77318f071f07e21b0e65ce4a0cf96918ead 100644 --- a/workflows/kallisto/gather-dirs.cwl +++ b/workflows/kallisto/gather-dirs.cwl @@ -1,12 +1,20 @@ cwlVersion: v1.2 class: ExpressionTool +label: Gather directories doc: | + Helper tool to organize + Takes an array of directories (e.g. from a workflow step) and yields them in a destination directory. + + Adapted from: https://github.com/common-workflow-language/cwl-v1.1/blob/a22b7580c6b50e77c0a181ca59d3828dd5c69143/tests/dir7.cwl + requirements: - class: InlineJavascriptRequirement + inputs: inDirs: Directory[] destinationDir: string + expression: | ${ return {"outDir": { @@ -15,5 +23,6 @@ expression: | "listing": inputs.inDirs } }; } + outputs: outDir: Directory \ No newline at end of file diff --git a/workflows/kallisto/kallisto-index.cwl b/workflows/kallisto/kallisto-index.cwl index 977cbabe0278210a7863b53017ff43f60ff158a6..e374a1f5ad55c0706f488236e258fac7c1c6cdd9 100644 --- a/workflows/kallisto/kallisto-index.cwl +++ b/workflows/kallisto/kallisto-index.cwl @@ -4,6 +4,10 @@ class: CommandLineTool label: Kallisto index doc: | + + Docs: https://pachterlab.github.io/kallisto/ + + Builds a kallisto index Usage: kallisto index [arguments] FASTA-files @@ -34,7 +38,7 @@ hints: - https://identifiers.org/biotools/kallisto requirements: - - class: InlineJavascriptRequirement + InlineJavascriptRequirement: {} baseCommand: [kallisto, index] diff --git a/workflows/kallisto/kallisto-quant.cwl b/workflows/kallisto/kallisto-quant.cwl index 692be5854e29bca5ef9abdfdec35164339183a3d..8da7542a585fc7a50e436045a568cd820426b381 100755 --- a/workflows/kallisto/kallisto-quant.cwl +++ b/workflows/kallisto/kallisto-quant.cwl @@ -2,13 +2,48 @@ cwlVersion: v1.2 class: CommandLineTool +label: Kallisto quant +doc: | + + Docs: https://pachterlab.github.io/kallisto/ + + Computes equivalence classes for reads and quantifies abundances + + Usage: kallisto quant [arguments] FASTQ-files + + Required arguments: + -i, --index=STRING Filename for the kallisto index to be used for + quantification + -o, --output-dir=STRING Directory to write output to + + Optional arguments: + -b, --bootstrap-samples=INT Number of bootstrap samples (default: 0) + --seed=INT Seed for the bootstrap sampling (default: 42) + --plaintext Output plaintext instead of HDF5 + --single Quantify single-end reads + --single-overhang Include reads where unobserved rest of fragment is + predicted to lie outside a transcript + --fr-stranded Strand specific reads, first read forward + --rf-stranded Strand specific reads, first read reverse + -l, --fragment-length=DOUBLE Estimated average fragment length + -s, --sd=DOUBLE Estimated standard deviation of fragment length + (default: -l, -s values are estimated from paired + end data, but are required when using --single) + -p, --priors Priors for the EM algorithm, either as raw counts or as + probabilities. Pseudocounts are added to raw reads to + prevent zero valued priors. Supplied in the same order + as the transcripts in the transcriptome + -t, --threads=INT Number of threads to use (default: 1) + --verbose Print out progress information every 1M proccessed reads + + hints: DockerRequirement: dockerPull: quay.io/biocontainers/kallisto:0.51.1--ha4fb952_1 SoftwareRequirement: packages: kallisto: - version: [ "0.50.0" ] + version: [ "0.51.1" ] specs: [ https://identifiers.org/biotools/kallisto ] inputs: @@ -131,7 +166,11 @@ outputs: outputBinding: glob: $(runtime.outdir)/$(inputs.QuantOutfolder) + $namespaces: edam: https://edamontology.org/ + s: https://schema.org/ $schemas: - https://edamontology.org/EDAM_1.18.owl + +s:license: https://spdx.org/licenses/BSD-2-Clause diff --git a/workflows/kallisto/kallisto-test.cwl b/workflows/kallisto/kallisto-test.cwl deleted file mode 100644 index 3a05871190f87a7d8436644c9db41b14fa73b758..0000000000000000000000000000000000000000 --- a/workflows/kallisto/kallisto-test.cwl +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/env cwl-runner -cwlVersion: v1.2 -class: CommandLineTool - -hints: - DockerRequirement: - dockerPull: quay.io/biocontainers/kallisto:0.50.1--h6de1650_2 - SoftwareRequirement: - packages: - kallisto: - version: [ "0.50.0" ] - specs: [ https://identifiers.org/biotools/kallisto ] - -inputs: [] - -baseCommand: [kallisto] - -outputs: [] \ No newline at end of file