-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwf-alignment-single-fastq.cwl
146 lines (146 loc) · 3.57 KB
/
wf-alignment-single-fastq.cwl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
class: Workflow
cwlVersion: v1.0
id: wf_alignment
doc: |
Align RNA-seq data for each sample using STAR.
label: Alignment sub-workflow
$namespaces:
dct: 'http://purl.org/dc/terms/'
foaf: 'http://xmlns.com/foaf/0.1/'
sbg: 'https://www.sevenbridges.com/'
inputs:
- id: genome_dir
type: 'File[]'
'sbg:x': 769.881103515625
'sbg:y': 321
- id: genstr
type: string?
- id: nthreads
type: int
'sbg:x': 739.2590942382812
'sbg:y': 152.51564025878906
- id: synapse_config
type: File
'sbg:x': 0
'sbg:y': 107
- id: synapseid
type: string
'sbg:x': 0
'sbg:y': 0
- id: alignEndsType
type: string?
- id: outFilterMismatchNmax
type: int?
- id: outFilterMultimapScoreRange
type: int?
- id: outFilterMultimapNmax
type: int?
- id: outFilterScoreMinOverLread
type: int?
- id: outFilterMatchNminOverLread
type: int?
- id: outFilterMatchNmin
type: int?
- id: alignSJDBoverhangMin
type: int?
- id: alignIntronMax
type: int?
outputs:
- id: splice_junctions
outputSource:
- star_align/splice_junctions
type: File
'sbg:x': 1399.3011474609375
'sbg:y': 53.5
- id: reads_per_gene
outputSource:
- star_align/reads_per_gene
type: File
'sbg:x': 1399.3011474609375
'sbg:y': 267.5
- id: logs
outputSource:
- star_align/logs
type: File
'sbg:x': 1399.3011474609375
'sbg:y': 374.5
- id: realigned_reads_sam
outputSource:
- star_align/aligned_reads_sam
type: File
'sbg:x': 1410.3011474609375
'sbg:y': 504.5
steps:
- id: star_align
in:
- id: mate_1_fastq
source: zcat/output_uncompressed
- id: genstr
source: genstr
- id: genome_dir
source:
- genome_dir
- id: nthreads
source: nthreads
- id: output_dir_name
source: synapseid
- id: alignEndsType
source: alignEndsType
- id: outFilterMismatchNmax
source: outFilterMismatchNmax
- id: outFilterMultimapScoreRange
source: outFilterMultimapScoreRange
- id: outFilterMultimapNmax
source: outFilterMultimapNmax
- id: outFilterScoreMinOverLread
source: outFilterScoreMinOverLread
- id: outFilterMatchNminOverLread
source: outFilterMatchNminOverLread
- id: outFilterMatchNmin
source: outFilterMatchNmin
- id: alignSJDBoverhangMin
source: alignSJDBoverhangMin
- id: alignIntronMax
source: alignIntronMax
out:
- id: aligned_reads_sam
- id: reads_per_gene
- id: splice_junctions
- id: logs
run: https://raw.githubusercontent.com/Sage-Bionetworks-Workflows/dockstore-tool-star/v1.0.1/cwl/star_align-se.cwl
label: STAR spliced alignment
'sbg:x': 1044.3306884765625
'sbg:y': 193
- id: synapse_get_tool
in:
- id: synapse_config
source: synapse_config
- id: synapseid
source: synapseid
out:
- id: filepath
run: ../tools/synapse-get-tool.cwl
'sbg:x': 310
'sbg:y': -256
- id: zcat
in:
- id: input_gzs
source: synapse_get_tool/filepath
- id: output_basename
source: synapse_get_tool/filepath
valueFrom: $(self.nameroot).txt
out:
- id: output_uncompressed
run: ../tools/zcat.cwl
'sbg:x': 534.0625
'sbg:y': -348
requirements:
- class: ResourceRequirement
ramMin: 60000
coresMin: 15
tmpdirMin: 225000
outdirMin: 225000
'dct:creator':
'@id': 'http://orcid.org/0000-0001-9758-0176'
'foaf:mbox': 'mailto:[email protected]'
'foaf:name': James Eddy