Skip to content
Snippets Groups Projects
Commit 1f05dd17 authored by Dominik Brilhaus's avatar Dominik Brilhaus
Browse files

docker-less shiny prep

parent 44c39387
No related branches found
No related tags found
No related merge requests found
File moved
No preview for this file type
#!/usr/bin/env cwl-runner #!/usr/bin/env cwl-runner
cwlVersion: v1.2 cwlVersion: v1.2
class: Workflow class: CommandLineTool
inputs: inputs:
out_folder: - id: r_script
type: string type: File
in_kallisto_df: inputBinding:
type: File position: 0
- id: out_folder
type: string
inputBinding:
position: 1
- id: in_kallisto_df
type: File
inputBinding:
position: 2
outputs: outputs:
out_dir: - id: outdir
type: type:
type: array type: array
items: Directory items: Directory
outputSource: shiny_prep/outdir outputBinding:
steps: glob: $(runtime.outdir)/$(inputs.out_folder)
shiny_prep:
run: ../../workflows/shiny_prep/workflow.cwl baseCommand:
in: - Rscript
in_kallisto_df: in_kallisto_df
out_folder: out_folder
out: [outdir]
cores: 1 cores: 1
in_kallisto_df: r_script:
class: File class: File
path: ../kallisto_collect/kallisto_df.csv path: ../../workflows/shiny_prep/shiny_prep.R
out_folder: out in_kallisto_df:
class: File
path: ../kallisto_collect/out/kallisto_df.csv
out_folder: out
\ No newline at end of file
#!/usr/bin/env Rscript #!/usr/bin/env Rscript
################################################
#### CWL-independent tests
################################################
# arc_root <- "~/gitlab_dataplant/samplearc_rnaseq_adrian/"
# out_folder <- "runs/shiny_prep"
# in_kallisto_df <- "runs/kallisto_collect/kallisto_df.csv"
################################################
#### Load required library
################################################
################################################ ################################################
#### Read arguments from CLI #### Read arguments from CLI
################################################ ################################################
......
#!/usr/bin/env cwl-runner
cwlVersion: v1.2
class: CommandLineTool
hints:
DockerRequirement:
dockerPull: zimmera95/rnaseq:latest
requirements:
- class: InitialWorkDirRequirement
listing:
- class: File
location: shiny_prep.R
baseCommand:
- Rscript
arguments:
- position: 0
valueFrom: shiny_prep.R
inputs:
- id: out_folder
type: string
inputBinding:
position: 1
- id: in_kallisto_df
type: File
inputBinding:
position: 2
outputs:
- id: outdir
type:
type: array
items: Directory
outputBinding:
glob: $(runtime.outdir)/$(inputs.out_folder)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment