-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathtranscriptome_annotation.cwl
157 lines (156 loc) · 3.72 KB
/
transcriptome_annotation.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
147
148
149
150
151
152
153
154
155
156
157
class: Workflow
cwlVersion: v1.0
id: transcriptome_annotation
label: transcriptome_annotation
inputs:
- id: blast_db_dir
type: Directory
- id: fasta
type: File
label: query
- id: evalue
type: float?
- id: blast_nt_db
type: string
- id: threads
type: int?
- id: blast_nr_db
type: string
- id: blast_cdd_db
type: string
outputs:
- id: transdecoder_protein
outputSource:
- transdecoder_longorfs_extract_result/output
type: File
label: Transdecoder-output
- id: blastn_output
outputSource:
- blastn/output
type: File
label: BlastN-output
- id: rpst_blast_output
outputSource:
- rpstblastn/output
type: File
label: RPST-BlastN-output
- id: blastp_output
outputSource:
- blastp/output
type: File
label: BlastP-output
- id: rps_blast_output
outputSource:
- rpsblast/output
type: File
label: RPS-Blast-output
steps:
- id: blastn
in:
- id: db
source: blast_nt_db
- id: dbdir
source: blast_db_dir
- id: evalue
source: evalue
- id: max_target_seqs
default: 1000
- id: num_threads
source: threads
- id: out
valueFrom: '${ return inputs.query.nameroot + "_blastn.tsv";}'
- id: query
source: fasta
out:
- id: export_search_strategy_output
- id: output
run: ../../tools/blast/blastn.cwl
label: BlastN
- id: blastp
in:
- id: db
source: blast_nr_db
- id: dbdir
source: blast_db_dir
- id: evalue
source: evalue
- id: max_target_seqs
default: 1000
- id: num_threads
source: threads
- id: out
valueFrom: '${ return inputs.query.nameroot + "_blastp.tsv";}'
- id: query
source: transdecoder_longorfs_extract_result/output
- id: task
default: blastp-fast
out:
- id: export_search_strategy_output
- id: output
run: ../../tools/blast/blastp.cwl
label: BlastP
- id: rpstblastn
in:
- id: db
source: blast_cdd_db
- id: dbdir
source: blast_db_dir
- id: evalue
source: evalue
- id: max_target_seqs
default: 1000
- id: num_threads
source: threads
- id: out
valueFrom: '${ return inputs.query.nameroot + "_rpstblastn.tsv";}'
- id: query
source: fasta
out:
- id: export_search_strategy_output
- id: output
run: ../../tools/blast/rpstblastn.cwl
label: RPST-BlastN
- id: rpsblast
in:
- id: db
source: blast_cdd_db
- id: dbdir
source: blast_db_dir
- id: evalue
source: evalue
- id: max_target_seqs
default: 1000
- id: num_threads
source: threads
- id: out
valueFrom: '${ return inputs.query.nameroot + "_rpsblast.tsv";}'
- id: query
source: transdecoder_longorfs_extract_result/output
out:
- id: export_search_strategy_output
- id: output
run: ../../tools/blast/rpsblast.cwl
label: RPS-Blast
- id: transdecoder_longorfs
in:
- id: t
source: fasta
out:
- id: output
run: ../../tools/transdecoder/transdecoder_longorfs.cwl
label: TransDecoder
- id: transdecoder_longorfs_extract_result
in:
- id: d
source: transdecoder_longorfs/output
- id: filename
default: longest_orfs.pep
- id: o
valueFrom: '${ return inputs.d.nameroot .replace(".fa", "_transdecoder.fa");}'
out:
- id: output
run: ../../tools/transdecoder/transdecoder_longorfs_extract_result.cwl
label: TransDecoder-Filter
requirements:
- class: InlineJavascriptRequirement
- class: StepInputExpressionRequirement