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

add kallisto index workflows

parent 91fbb634
No related branches found
No related tags found
1 merge request!2Re build rnaseq
This commit is part of merge request !2. Comments created here will be created in the context of that merge request.
#!/usr/bin/env cwl-runner
cwlVersion: v1.2
class: CommandLineTool
hints:
DockerRequirement:
dockerPull: quay.io/biocontainers/kallisto:0.43.0--hdf51.8.17_2
inputs:
- id: sh_script
type: File
inputBinding:
position: 0
- id: in_genome_ref
type: File
inputBinding:
position: 2
- id: out_folder
type: string
inputBinding:
position: 3
outputs:
- id: outdir
type:
type: array
items: Directory
outputBinding:
glob: $(runtime.outdir)/$(inputs.out_folder)
- id: example_out:
type: stdout
stdout: output.txt
baseCommand:
- bash
cores: 1
sh_script:
class: File
path: ../../workflows/kallisto_index/kallisto_index.sh
in_genome_ref:
class: File
path: ../../studies/ ##TODO
out_folder: ./out
#!/usr/bin/env bash
### Build kallisto index
################################################
#### Read arguments from CLI
################################################
in_genome_ref=$1
out_folder=$2
################################################
#### Print version and citation to test kallisto
################################################
kallisto version
kallisto cite
################################################
#### If it does not exist, create out dir
################################################
mkdir -p $out_folder
################################################
#### Build kallisto index
################################################
kallisto index -i $out_folder/kallisto_index $in_genome_ref
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