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

allow to adapt which part of the file name(s) shall be kept

parent 960e623a
No related branches found
No related tags found
1 merge request!2Kallisto cwl
......@@ -34,6 +34,8 @@ InputReadsMultipleSamples:
path: ../../assays/Talinum_RNASeq_minimal/dataset/DB_165_re-C3MD_GTGAAA_L002_R1_001.fastq.gz
format: edam:format_1930 # FASTQ
numUnderscoresFileName: 1
### Kallisto quant Parameters
isSingle: true
FragmentLength: 200
......
......@@ -14,6 +14,12 @@ inputs:
items:
type: array
items: File
# numCharsFileName:
# type: int
# default: 6
numUnderscoresFileName:
type: int
default: 2
isSingle: boolean
FragmentLength: double?
StandardDeviation: double?
......@@ -37,9 +43,13 @@ steps:
scatterMethod: dotproduct
in:
InputReads: InputReadsMultipleSamples
# numChars:
# source: numCharsFileName
numUnderscores: numUnderscoresFileName
QuantOutfolder:
source: InputReadsMultipleSamples
valueFrom: $(self[0].nameroot.substring(0,6))
# valueFrom: $(self[0].nameroot.substring(0, inputs.numChars))
valueFrom: $(self[0].nameroot.split('_').slice(0, inputs.numUnderscores).join('_'))
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