Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Facultative CAM in Talinum
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dominik Brilhaus
Facultative CAM in Talinum
Commits
943e5e52
Commit
943e5e52
authored
4 months ago
by
Dominik Brilhaus
Browse files
Options
Downloads
Patches
Plain Diff
switch kallisto input to array of records
parent
c67b71f2
No related branches found
No related tags found
1 merge request
!14
Cwl
Pipeline
#9385
failed
4 months ago
Stage: arc_json
Stage: quality_report_generator
Stage: quality_report
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
runs/kallisto/run.cwl
+11
-8
11 additions, 8 deletions
runs/kallisto/run.cwl
runs/kallisto/run.yml
+30
-27
30 additions, 27 deletions
runs/kallisto/run.yml
workflows/kallisto/workflow.cwl
+51
-48
51 additions, 48 deletions
workflows/kallisto/workflow.cwl
with
92 additions
and
83 deletions
runs/kallisto/run.cwl
+
11
−
8
View file @
943e5e52
...
@@ -4,16 +4,20 @@ class: Workflow
...
@@ -4,16 +4,20 @@ class: Workflow
requirements:
requirements:
SubworkflowFeatureRequirement: {}
SubworkflowFeatureRequirement: {}
MultipleInputFeatureRequirement: {}
inputs:
inputs:
IndexInput: File[]
IndexInput: File[]
InputReadsMultipleSamples
:
sampleRecord
:
type:
type:
type: array
type: array
items:
items:
type: array
type: record
items: File
fields:
numUnderscoresFileName: int
readsOfOneSample:
type: File[]
sampleName:
type: string?
isSingle: boolean
isSingle: boolean
FragmentLength: double?
FragmentLength: double?
StandardDeviation: double?
StandardDeviation: double?
...
@@ -25,8 +29,7 @@ steps:
...
@@ -25,8 +29,7 @@ steps:
run: ../../workflows/kallisto/workflow.cwl
run: ../../workflows/kallisto/workflow.cwl
in:
in:
IndexInput: IndexInput
IndexInput: IndexInput
InputReadsMultipleSamples: InputReadsMultipleSamples
sampleRecord: sampleRecord
numUnderscoresFileName: numUnderscoresFileName
isSingle: isSingle
isSingle: isSingle
FragmentLength: FragmentLength
FragmentLength: FragmentLength
StandardDeviation: StandardDeviation
StandardDeviation: StandardDeviation
...
...
This diff is collapsed.
Click to expand it.
runs/kallisto/run.yml
+
30
−
27
View file @
943e5e52
...
@@ -5,44 +5,47 @@ IndexInput:
...
@@ -5,44 +5,47 @@ IndexInput:
format
:
edam:format_1929
# FASTA
format
:
edam:format_1929
# FASTA
## Fastq files to be mapped
## Fastq files to be mapped
# The `
InputReadsMultipl
eSample
s
` looks more complicated than needed
# The `
readsOfOn
eSample` looks more complicated than needed
# It's an array of
File arrays
to generically allow multiple fastq files per sample
# It's an array of
records (each with one or mupltiple files and a sample name)
to generically allow multiple fastq files per sample
InputReadsMultipleSamples
:
sampleRecord
:
-
-
readsOfOneSample
:
-
class
:
File
-
class
:
File
path
:
../../assays/Talinum_RNASeq_minimal/dataset/DB_097_CAMMD_CAGATC_L001_R1_001.fastq.gz
path
:
../../assays/Talinum_RNASeq_minimal/dataset/DB_097_CAMMD_CAGATC_L001_R1_001.fastq.gz
format
:
edam:format_1930
# FASTQ
format
:
edam:format_1930
-
sampleName
:
'
DB_097'
-
readsOfOneSample
:
-
class
:
File
path
:
../../assays/Talinum_RNASeq_minimal/dataset/DB_163_reC3MD_GTGAAA_L001_R1_001.fastq.gz
format
:
edam:format_1930
sampleName
:
'
DB_163'
-
readsOfOneSample
:
-
class
:
File
-
class
:
File
path
:
../../assays/Talinum_RNASeq_minimal/dataset/DB_099_CAMMD_CTTGTA_L001_R1_001.fastq.gz
path
:
../../assays/Talinum_RNASeq_minimal/dataset/DB_099_CAMMD_CTTGTA_L001_R1_001.fastq.gz
format
:
edam:format_1930
# FASTQ
format
:
edam:format_1930
# -
sampleName
:
'
DB_099'
# - class: File
-
readsOfOneSample
:
# path: ../../assays/Talinum_RNASeq_minimal/dataset/DB_103_CAMMD_AGTCAA_L001_R1_001.fastq.gz
-
class
:
File
# format: edam:format_1930 # FASTQ
path
:
../../assays/Talinum_RNASeq_minimal/dataset/DB_103_CAMMD_AGTCAA_L001_R1_001.fastq.gz
# -
format
:
edam:format_1930
# - class: File
sampleName
:
'
DB_103'
# path: ../../assays/Talinum_RNASeq_minimal/dataset/DB_161_reC3MD_GTCCGC_L001_R1_001.fastq.gz
-
readsOfOneSample
:
# format: edam:format_1930 # FASTQ
-
class
:
File
# -
path
:
../../assays/Talinum_RNASeq_minimal/dataset/DB_161_reC3MD_GTCCGC_L001_R1_001.fastq.gz
# - class: File
format
:
edam:format_1930
# path: ../../assays/Talinum_RNASeq_minimal/dataset/DB_163_reC3MD_GTGAAA_L001_R1_001.fastq.gz
sampleName
:
'
DB_161'
# format: edam:format_1930 # FASTQ
-
readsOfOneSample
:
# -
-
class
:
File
# - class: File
path
:
../../assays/Talinum_RNASeq_minimal/dataset/DB_165_re-C3MD_GTGAAA_L002_R1_001.fastq.gz
# path: ../../assays/Talinum_RNASeq_minimal/dataset/DB_165_re-C3MD_GTGAAA_L002_R1_001.fastq.gz
format
:
edam:format_1930
# format: edam:format_1930 # FASTQ
sampleName
:
'
DB_165'
numUnderscoresFileName
:
2
### Kallisto quant Parameters
### Kallisto quant Parameters
isSingle
:
true
isSingle
:
true
FragmentLength
:
200
FragmentLength
:
200
StandardDeviation
:
20
StandardDeviation
:
20
BootstrapSamples
:
30
BootstrapSamples
:
30
resultsFolder
:
kallisto_results
resultsFolder
:
test
$namespaces
:
$namespaces
:
edam
:
https://edamontology.org/
edam
:
https://edamontology.org/
\ No newline at end of file
This diff is collapsed.
Click to expand it.
workflows/kallisto/workflow.cwl
+
51
−
48
View file @
943e5e52
#!/usr/bin/env cwl-runner
cwlVersion: v1.2
cwlVersion: v1.2
class: Workflow
class: Workflow
...
@@ -7,56 +8,58 @@ requirements:
...
@@ -7,56 +8,58 @@ requirements:
InlineJavascriptRequirement: {}
InlineJavascriptRequirement: {}
inputs:
inputs:
IndexInput: File[]
IndexInput: File[]
sampleRecord:
sampleRecord:
type:
type:
type: array
type: array
items:
items:
type: record
type: record
fields:
fields:
readsOfOneSample:
readsOfOneSample:
type: File[]
type: File[]
sampleName:
sampleName:
type: string?
type: string?
isSingle: boolean
isSingle: boolean
FragmentLength: double?
FragmentLength: double?
StandardDeviation: double?
StandardDeviation: double?
BootstrapSamples: int?
BootstrapSamples: int?
resultsFolder: string
resultsFolder: string
steps:
steps:
index:
index:
run: kallisto-index.cwl
run: kallisto-index.cwl
in:
in:
InputFiles: IndexInput
InputFiles: IndexInput
IndexName:
IndexName:
source: IndexInput
source: IndexInput
valueFrom: $(self[0].nameroot)
valueFrom: $(self[0].nameroot)
out: [index]
out: [index]
quant:
run: kallisto-quant.cwl
quant:
scatter: [InputReads, QuantOutfolder]
run: kallisto-quant.cwl
scatterMethod: dotproduct
scatter: [InputReads, QuantOutfolder]
in:
scatterMethod: dotproduct
InputReads:
in:
source: sampleRecord
InputReads:
valueFrom: $(self.readsOfOneSample)
source: sampleRecord
QuantOutfolder:
valueFrom: $(self.readsOfOneSample)
source: sampleRecord
QuantOutfolder:
valueFrom: $(self.sampleName)
source: sampleRecord
Index: index/index
valueFrom: $(self.sampleName)
isSingle: isSingle
Index: index/index
FragmentLength: FragmentLength
isSingle: isSingle
StandardDeviation: StandardDeviation
FragmentLength: FragmentLength
BootstrapSamples: BootstrapSamples
StandardDeviation: StandardDeviation
out: [outFolder]
BootstrapSamples: BootstrapSamples
collectResults:
out: [outFolder]
run: ./yield-dirInDestination.cwl
scatter: inDir
collectResults:
in:
run: ./yield-dirInDestination.cwl
inDir: quant/outFolder
scatter: inDir
destinationDir: resultsFolder
in:
out: [outDir]
inDir: quant/outFolder
destinationDir: resultsFolder
out: [outDir]
outputs:
outputs:
finalOut:
finalOut:
...
...
This diff is collapsed.
Click to expand it.
Jonathan Bauer
@bauer
mentioned in commit
87a5d387
·
4 months ago
mentioned in commit
87a5d387
mentioned in commit 87a5d38716bb4afb04e53b8bd517120e0ea63f05
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment