-
-
Notifications
You must be signed in to change notification settings - Fork 38
/
Copy pathfeatureCounts.cwl
executable file
·48 lines (42 loc) · 1.19 KB
/
featureCounts.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
#!/usr/bin/env cwl-runner
cwlVersion: v1.0
class: CommandLineTool
inputs:
annotations:
type: File
format: [ edam:format_2306, edam:format_1974 ] # GTF or GFFv2
mapped_reads:
type: File
format: [ edam:format_2572, edam:format_2573 ] # BAM or SAM
reads_are_paired:
doc: |
If specified, libraries are assumed to contain paired-end reads.
type: boolean
inputBinding:
prefix: -p
baseCommand: featureCounts
arguments: [-T, $(runtime.cores),
-a, $(inputs.annotations),
-o, featurecounts.tsv,
$(inputs.mapped_reads)]
outputs:
featurecounts:
type: File
format: iana:text/tab-separated-values # TSV
outputBinding:
glob: featurecounts.tsv
hints:
DockerRequirement:
dockerPull: quay.io/biocontainers/subread:2.0.6--he4a0461_0
SoftwareRequirement:
packages:
featureCounts:
specs:
- https://identifiers.org/rrid/RRID:SCR_012919
- https://identifiers.org/biotools/featurecounts
- https://anaconda.org/bioconda/subread
$namespaces:
edam: http://edamontology.org/
iana: https://www.iana.org/assignments/media-types/
$schemas:
- https://edamontology.org/EDAM_1.25.owl