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

somewhat generic kallisto with multiple samples worked

parent e92c3586
No related branches found
No related tags found
1 merge request!1Cwl
Pipeline #2419 passed
......@@ -386,3 +386,6 @@ Temporary Items
# R temporaries
.Rhistory
.RData
# CWL caches
**/cache*/
\ No newline at end of file
......@@ -6,4 +6,3 @@
cd runs/kallisto/
cwltool --cachedir cache2 ../../workflows/kallisto/kallisto-workflow.cwl workflow.yml > $(date +"%Y-%m-%d_%H-%M").log 2>&1 &
```
InputReadsMultipleSamples:
## Genome file to build kallisto Index
IndexInput:
- class: File
path: ../../studies/TalinumGenomeDraft/resources/Talinum.gm.CDS.nt.fa
format: edam:format_1929 # FASTA
## Fastq files to be mapped
# The `InputReadsMultipleSamples` looks more complicated than needed
# It's an array of File arrays to generically allow multiple fastq files per sample
InputReadsMultipleSamples:
-
- class: File
path: ../../assays/Talinum_RNASeq_minimal/dataset/DB_097_CAMMD_CAGATC_L001_R1_001.fastq.gz
......@@ -7,14 +17,13 @@ InputReadsMultipleSamples:
- class: File
path: ../../assays/Talinum_RNASeq_minimal/dataset/DB_099_CAMMD_CTTGTA_L001_R1_001.fastq.gz
format: edam:format_1930 # FASTQ
IndexInput:
- class: File
path: ../../studies/TalinumGenomeDraft/resources/Talinum.gm.CDS.nt.fa
format: edam:format_1929 # FASTA
numCharsFastqFileName: 6
### Kallisto quant Parameters
isSingle: true
FragmentLength: 200
StandardDeviation: 20
BootstrapSamples: 30
BootstrapSamples: 1
$namespaces:
edam: https://edamontology.org/
\ No newline at end of file
......@@ -132,6 +132,6 @@ outputs:
glob: $(runtime.outdir)/$(inputs.QuantOutfolder)
$namespaces:
edam: http://edamontology.org/
edam: https://edamontology.org/
$schemas:
- https://edamontology.org/EDAM_1.18.owl
......@@ -7,13 +7,14 @@ requirements:
InlineJavascriptRequirement: {}
inputs:
IndexInput: File[]
InputReadsMultipleSamples:
type:
type: array
items:
type: array
items: File
IndexInput: File[]
numCharsFastqFileName: int?
isSingle: boolean
FragmentLength: double?
StandardDeviation: double?
......@@ -30,13 +31,15 @@ steps:
out: [index]
quant:
run: kallisto-quant.cwl
scatter: InputReads
scatter:
- InputReads
- QuantOutfolder
scatterMethod: dotproduct
in:
InputReads: InputReadsMultipleSamples
QuantOutfolder:
# source: InputReadsMultipleSamples
# valueFrom: $(self[0].nameroot)
valueFrom: testSample
source: InputReadsMultipleSamples
valueFrom: $(self[0].nameroot)
Index: index/index
isSingle: isSingle
FragmentLength: FragmentLength
......
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