-
Notifications
You must be signed in to change notification settings - Fork 9
/
hisat2-stringtie_wf_pe.cwl
87 lines (73 loc) · 2.32 KB
/
hisat2-stringtie_wf_pe.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
cwlVersion: v1.0
class: Workflow
inputs:
## Common input
nthreads: int
## Inputs for download-sra
repo: string?
run_ids: string[]
## Inputs for hisat2_mapping
hisat2_idx_basedir: Directory
hisat2_idx_basename: string
## Inputs for stringtie
annotation: File
outputs:
assemble_output:
type: File
outputSource: stringtie_assemble/assemble_output
steps:
download-sra:
run: https://raw.githubusercontent.com/pitagora-network/pitagora-cwl/master/tools/download-sra/download-sra.cwl
in:
repo: repo
run_ids: run_ids
out:
[sraFiles]
pfastq-dump:
run: https://raw.githubusercontent.com/pitagora-network/pitagora-cwl/master/tools/pfastq-dump/pfastq-dump.cwl
in:
sraFiles: download-sra/sraFiles
nthreads: nthreads
out:
[forward, reverse]
hisat2_mapping:
run: https://raw.githubusercontent.com/pitagora-network/pitagora-cwl/master/tools/hisat2/mapping/paired_end/hisat2_mapping_pe.cwl
in:
hisat2_idx_basedir: hisat2_idx_basedir
hisat2_idx_basename: hisat2_idx_basename
fq1: pfastq-dump/forward
fq2: pfastq-dump/reverse
nthreads: nthreads
out:
[hisat2_sam]
samtools_sam2bam:
run: https://raw.githubusercontent.com/pitagora-network/pitagora-cwl/master/tools/samtools/sam2bam/samtools_sam2bam.cwl
in:
input_sam: hisat2_mapping/hisat2_sam
out: [bamfile]
samtools_sort:
run: https://raw.githubusercontent.com/pitagora-network/pitagora-cwl/master/tools/samtools/sort/samtools_sort.cwl
in:
input_bam: samtools_sam2bam/bamfile
nthreads: nthreads
out: [sorted_bamfile]
stringtie_assemble:
run: https://raw.githubusercontent.com/pitagora-network/pitagora-cwl/master/tools/stringtie/assemble/stringtie_assemble.cwl
in:
input_bam: samtools_sort/sorted_bamfile
nthreads: nthreads
annotation: annotation
out: [assemble_output]
$namespaces:
s: https://schema.org/
edam: http://edamontology.org/
s:license: https://spdx.org/licenses/Apache-2.0
s:codeRepository: https://github.com/pitagora-network/pitagora-cwl
s:author:
- class: s:Person
s:identifier: https://orcid.org/0000-0003-3777-5945
s:email: mailto:inutano@gmail.com
s:name: Tazro Ohta
$schemas:
- https://schema.org/docs/schema_org_rdfa.html
- http://edamontology.org/EDAM_1.18.owl