forked from ncbi/BAMscale
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bamscale-cov.cwl
171 lines (160 loc) · 3.61 KB
/
bamscale-cov.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
158
159
160
161
162
163
164
165
166
167
168
169
170
#!/usr/bin/env cwl-runner
cwlVersion: v1.0
class: CommandLineTool
label: BAMscale-cov
doc: Calculate coverage of BED coordinates in BAM file(s)
requirements:
InlineJavascriptRequirement: {}
hints:
- $import: bamscale.yml
inputs:
l:
type: string?
inputBinding:
position: 1
prefix: -l
doc: |
Sequencing type to be used. Can be: single, paired, and auto (default: autodetect)
f:
type: string?
inputBinding:
position: 1
prefix: -f
doc: |
Compute coverage using fragments instead of reads (default: no)
s:
type: string?
inputBinding:
position: 1
prefix: -s
doc: |
Reads need to have same orientation of peaks (default: unstranded)
r:
type: string?
inputBinding:
position: 1
prefix: -r
doc: |
Reads need to have reverse orientation of peaks (default: unstranded)
e:
type: int?
inputBinding:
position: 2
prefix: -e
doc: |
Compute sequencing coverage from BAM file quickly using the index (option '0'),
or count number of reads by parsing entire BAM file (slower, but more accurate; set to '1' [default])
c:
type: File?
inputBinding:
position: 2
prefix: -c
doc: |
Input file with list of chromosomes to blacklist when computing coverage for normalization
u:
type: int?
inputBinding:
position: 2
prefix: -u
doc: |
BED file with regions to subtract when computing coverage for normalization
These coordinates should not overlap so reads are not counted multiple times
q:
type: int?
inputBinding:
position: 3
prefix: -q
doc: |
Minimum (at least) mapping quality (default: 0)
d:
type: string?
inputBinding:
position: 3
prefix: -d
doc: |
Keep duplicated reads (default: no)
p:
type: string?
inputBinding:
position: 3
prefix: -p
doc: |
Do not filter un-proper alignments (default: filter)
m:
type: string?
inputBinding:
position: 3
prefix: -m
doc: |
Do not remove reads with unmapped pairs
g:
type: int?
inputBinding:
position: 3
prefix: -g
doc: |
Minimum fragment size for read pairs (default: 0)
x:
type: int?
inputBinding:
position: 3
prefix: -x
doc: |
Maximum fragment size for read pairs (default: 2000)
w:
type: int?
inputBinding:
position: 3
prefix: -w
doc: |
Filter reads based on fragment size (default: no)
t:
type: int?
inputBinding:
position: 4
prefix: -t
doc: |
No. of threads to use (default: 1)
n:
type: string
inputBinding:
position: 4
prefix: -n
doc: |
Output prefix for file names (default: none)
bed:
type: File
inputBinding:
position: 5
prefix: --bed
doc: |
Input BED file
bam:
type:
type: array
items: File
inputBinding:
prefix: --bam
separate: true
secondaryFiles: .bai
inputBinding:
position: 6
doc: |
Input BAM file. This can be specified multiple times in case of multiple BAM files
outputs:
output:
type: File[]
outputBinding:
glob: $(inputs.n)*
baseCommand: ["BAMscale", "cov"]
s:author:
- class: s:Person
s:identifier: https://orcid.org/0000-0002-4108-5982
s:email: mailto:[email protected]
s:name: Roberto Vera Alvarez
s:codeRepository: https://github.com/ncbi/BAMscale
s:license: https://spdx.org/licenses/OPL-1.0
$namespaces:
s: http://schema.org/
$schemas:
- http://schema.org/docs/schema_org_rdfa.html